Skip to content
Browse files

update syntax_git

  • Loading branch information...
1 parent dfb3d3b commit 00e94a65a20494b8b64cc48b0b4cd842040d7557 @bleything committed Sep 23, 2011
Showing with 5 additions and 4 deletions.
  1. +5 −4 bundle/syntax_git/ftplugin/gitcommit.vim
View
9 bundle/syntax_git/ftplugin/gitcommit.vim
@@ -10,13 +10,14 @@ endif
runtime! ftplugin/git.vim
let b:did_ftplugin = 1
+set nomodeline
+
+let b:undo_ftplugin = 'setl modeline<'
+
if &textwidth == 0
" make sure that log messages play nice with git-log on standard terminals
setlocal textwidth=72
- if !exists("b:undo_ftplugin")
- let b:undo_ftplugin = ""
- endif
- let b:undo_ftplugin = b:undo_ftplugin . "|setl tw<"
+ let b:undo_ftplugin .= "|setl tw<"
endif
if exists("g:no_gitcommit_commands") || v:version < 700

0 comments on commit 00e94a6

Please sign in to comment.
Something went wrong with that request. Please try again.