Set the textwidth to 0 in gitcommits

This commit is contained in:
Kevin MacMartin 2024-03-11 20:19:46 -04:00
parent 13fbc4229f
commit f7af167d36

View file

@ -40,6 +40,7 @@ autocmd FileChangedRO * nested set noreadonly
"word processing
autocmd Filetype markdown,text,gitcommit,mail setlocal nonumber spell tabstop=2 shiftwidth=2 "defaults
autocmd Filetype text,mail setlocal wrap nolist textwidth=80 linebreak breakat&vim breakat-=* breakat-=. breakat-=/ breakat-=? breakat-=, breakat-=: breakat-=; breakat-=! "text wrapping
autocmd Filetype gitcommit setlocal textwidth=0
"comment string
autocmd FileType tmux setlocal commentstring=#\ %s