From: Simon Ruderich Date: Wed, 8 Apr 2009 09:39:34 +0000 (+0200) Subject: after/ftplugin/gitcommit.vim: Don't use modeline. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=9bc56101dedd4937d77c72a84fc605ad49a181f2;p=config%2Fdotfiles.git after/ftplugin/gitcommit.vim: Don't use modeline. --- diff --git a/vim/after/ftplugin/gitcommit.vim b/vim/after/ftplugin/gitcommit.vim new file mode 100644 index 0000000..bc60cf4 --- /dev/null +++ b/vim/after/ftplugin/gitcommit.vim @@ -0,0 +1,9 @@ +" Vim filetype plugin file +" Language: Git commit +" Maintainer: Simon Ruderich +" Last Change: 2009-03-14 + + +" 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