]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
after/ftplugin/gitcommit.vim: Don't use modeline.
authorSimon Ruderich <simon@ruderich.org>
Wed, 8 Apr 2009 09:39:34 +0000 (11:39 +0200)
committerSimon Ruderich <simon@ruderich.org>
Wed, 8 Apr 2009 09:39:34 +0000 (11:39 +0200)
vim/after/ftplugin/gitcommit.vim [new file with mode: 0644]

diff --git a/vim/after/ftplugin/gitcommit.vim b/vim/after/ftplugin/gitcommit.vim
new file mode 100644 (file)
index 0000000..bc60cf4
--- /dev/null
@@ -0,0 +1,9 @@
+" Vim filetype plugin file
+" Language:     Git commit
+" Maintainer:   Simon Ruderich <simon@ruderich.org>
+" 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