From: Simon Ruderich Date: Sat, 1 Aug 2009 16:53:04 +0000 (+0200) Subject: vimrc: Disable modelines for gitcommit files. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=3cb0be124c6e112106d90e3878b9ff89569a7ef7;p=config%2Fdotfiles.git vimrc: Disable modelines for gitcommit files. This disables the modelines from the securemodelines.vim plugin. --- diff --git a/vim/after/ftplugin/gitcommit.vim b/vim/after/ftplugin/gitcommit.vim index bc60cf4..1c439f3 100644 --- a/vim/after/ftplugin/gitcommit.vim +++ b/vim/after/ftplugin/gitcommit.vim @@ -7,3 +7,4 @@ " 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 window. setlocal nomodeline +let g:secure_modelines_allowed_items = []