From 7907b469979fa223fc69a13af850c7a82d7d44b7 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Wed, 10 Mar 2010 19:12:54 +0100 Subject: [PATCH 1/1] vimrc: Modelines are already disabled. No need to disable them again. --- vimrc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 | -- 2.45.2