Skip to content
Browse files

Ensure 'formatoptions' includes t

Partially addresses #10.
  • Loading branch information...
1 parent 290f599 commit 3d31cb0cc9470d57adf36cc3224814ccb0293cc9 @tpope committed May 17, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 ftplugin/gitcommit.vim
View
4 ftplugin/gitcommit.vim
@@ -11,9 +11,9 @@ endif
runtime! ftplugin/git.vim
let b:did_ftplugin = 1
-setlocal nomodeline
+setlocal nomodeline formatoptions+=t
-let b:undo_ftplugin = 'setl modeline<'
+let b:undo_ftplugin = 'setl modeline< formatoptions<'
if &textwidth == 0
" make sure that log messages play nice with git-log on standard terminals

0 comments on commit 3d31cb0

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