commit 1db8f733bbd49e47165e3e7e5c8c638929a9eb0c
parent a8dc4487b9a111489e35f4a713e5af3012af0fb4
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Sat, 25 Apr 2020 00:04:44 +0200
vim: gitcommit should be hardwrapped
Former-commit-id: b2c5e4eed6a11f733230f9ad1a27787d60a15814
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/vim/after/ftplugin/gitcommit.vim b/vim/after/ftplugin/gitcommit.vim
@@ -1,6 +1,7 @@
setlocal spell
setlocal spelllang=en
+setlocal formatoptions+=cat
if !exists('b:undo_ftplugin')
let b:undo_ftplugin = ''
end
-let b:undo_ftplugin .= '|setlocal spell< spelllang<'
+let b:undo_ftplugin .= '|setlocal spell< spelllang< formatoptions<'