diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-11-29 19:54:49 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-11-29 23:18:57 +1300 |
commit | 59a0e5e3201c6041d3ca3da8efcb6e2b2b81fedd (patch) | |
tree | 48324405e9119a80e8f1d87b1430b7e15f824af8 /vim | |
parent | Wrap Vim gitcommit autocmd clear in :execute (diff) | |
download | dotfiles-59a0e5e3201c6041d3ca3da8efcb6e2b2b81fedd.tar.gz dotfiles-59a0e5e3201c6041d3ca3da8efcb6e2b2b81fedd.zip |
Restore value of 'colorcolumn' after ft=gitcommit
Diffstat (limited to 'vim')
-rw-r--r-- | vim/after/ftplugin/gitcommit.vim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vim/after/ftplugin/gitcommit.vim b/vim/after/ftplugin/gitcommit.vim index 0ba80c92..18bacfb8 100644 --- a/vim/after/ftplugin/gitcommit.vim +++ b/vim/after/ftplugin/gitcommit.vim @@ -16,6 +16,7 @@ if has('autocmd') && exists('+cursorcolumn') augroup END let b:undo_ftplugin .= '|execute ''autocmd! gitcommit''' \ . '|augroup! gitcommit' + \ . '|setlocal colorcolumn<' endif " Stop here if the user doesn't want ftplugin mappings |