]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
vimrc: Disable modelines for gitcommit files.
authorSimon Ruderich <simon@ruderich.org>
Sat, 1 Aug 2009 16:53:04 +0000 (18:53 +0200)
committerSimon Ruderich <simon@ruderich.org>
Sat, 1 Aug 2009 16:53:04 +0000 (18:53 +0200)
This disables the modelines from the securemodelines.vim plugin.

vim/after/ftplugin/gitcommit.vim

index bc60cf44a1576b2b75076ade9915feb7a73d8535..1c439f3852fd660eadbff3aed53a84a0a04550f5 100644 (file)
@@ -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 = []