From: Simon Ruderich Date: Wed, 10 Mar 2010 18:12:54 +0000 (+0100) Subject: vimrc: Modelines are already disabled. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=7907b469979fa223fc69a13af850c7a82d7d44b7;p=config%2Fdotfiles.git vimrc: Modelines are already disabled. No need to disable them again. --- diff --git a/vimrc b/vimrc index 566c95f..9dc6bdf 100644 --- a/vimrc +++ b/vimrc @@ -304,8 +304,7 @@ if has('autocmd') " 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 = [] | + autocmd FileType gitcommit let g:secure_modelines_allowed_items = [] | \ setlocal textwidth=72 " Allow folding in perl. autocmd FileType perl let perl_fold = 1 |