From 3cb0be124c6e112106d90e3878b9ff89569a7ef7 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sat, 1 Aug 2009 18:53:04 +0200 Subject: [PATCH] vimrc: Disable modelines for gitcommit files. This disables the modelines from the securemodelines.vim plugin. --- vim/after/ftplugin/gitcommit.vim | 1 + 1 file changed, 1 insertion(+) 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 = [] -- 2.45.2