From: Simon Ruderich Date: Fri, 11 Dec 2009 08:44:09 +0000 (+0100) Subject: vimrc: Doc updates. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=f55d57134e0291304f623bb5e863781448705445;p=config%2Fdotfiles.git vimrc: Doc updates. --- diff --git a/vimrc b/vimrc index 17ad624..35d84d5 100644 --- a/vimrc +++ b/vimrc @@ -258,17 +258,17 @@ if has('autocmd') " Fix to allow Vim edit crontab files as crontab doesn't work with " backupcopy=auto. autocmd FileType crontab setlocal backupcopy=yes -" Don't use the modeline as the diff created by `git commit -v` may contain -" one which could change the filetype or other settings of the commit buffer. -" Also make sure we use only 72 characters per line which is the -" recommondation for git commit messages (http://tpope.net/node/106). +" Don't use the modeline in git commits as the diff created by `git commit -v` +" may contain one which could change the filetype or other settings of the +" commit buffer. Also make sure we use only 72 characters per line which is +" the recommendation for git commit messages (http://tpope.net/node/106). autocmd FileType gitcommit setlocal nomodeline | \ let g:secure_modelines_allowed_items = [] | \ setlocal textwidth=72 " Allow folding in perl. autocmd FileType perl let perl_fold = 1 | \ let perl_fold_blocks = 1 -" Use the same comment string as for Vim files in vimperator files. +" Use the same comment string as for Vim files in Vimperator files. autocmd FileType vimperator setlocal commentstring=\"%s " FTDETECT AUTO COMMANDS