From a346715e7629bb2e2a71ca5605de0b720716f5ed Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Sun, 1 Jun 2014 08:07:16 -0400 Subject: [PATCH] Improve the user bundle dir readme + add archversion config comment style to tcomment. --- vim/bundle.user/README.md | 8 +++++--- vim/config/plugins.vim | 5 +++++ vim/config/settings.vim | 1 + 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/vim/bundle.user/README.md b/vim/bundle.user/README.md index 5e4a645..371423b 100644 --- a/vim/bundle.user/README.md +++ b/vim/bundle.user/README.md @@ -1,4 +1,6 @@ -# Darkcloud Vim Theme, Custom Plugins Folder +# Darkcloud Vim Theme, Custom Plugins Folder # -## Instructions -Clone the repositories of pathogen-compatible plugins here to have them loaded when vim runs. +## Instructions ## + +1. Clone the repositories of pathogen-compatible plugins here to have them loaded when vim runs. +2. Configure these plugins using the vimrc.user file located in the directory below this after running the `update` script. diff --git a/vim/config/plugins.vim b/vim/config/plugins.vim index 8f23d9d..f663af4 100644 --- a/vim/config/plugins.vim +++ b/vim/config/plugins.vim @@ -139,6 +139,11 @@ let g:tagbar_width=35 "}}} +"TCOMMENT: {{{ + "set the comment style for archversion config files to '#' + call tcomment#DefineType('archversion', '# %s') +"}}} + "VIM FILER: {{{ "autostart filer when vim opens to an empty buffer (default: 1) if !exists("g:autostartfiler") diff --git a/vim/config/settings.vim b/vim/config/settings.vim index f792d04..75f5281 100644 --- a/vim/config/settings.vim +++ b/vim/config/settings.vim @@ -78,6 +78,7 @@ autocmd BufNewFile,BufRead *.aspx,*.asmx,*.ascx,*.master setf aspnet autocmd BufNewFile,BufRead *.muttrc setf muttrc autocmd BufNewFile,BufRead pacman.conf,yaourtrc setf sh + autocmd BufNewFile,BufRead archversion.conf setf archversion autocmd BufNewFile,BufRead cjdroute.conf,ircd.conf setf javascript "misc filtype specific settings