diff options
Diffstat (limited to 'vim/ftplugin/gitconfig.vim')
| -rw-r--r-- | vim/ftplugin/gitconfig.vim | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/vim/ftplugin/gitconfig.vim b/vim/ftplugin/gitconfig.vim new file mode 100644 index 0000000..2869fc9 --- /dev/null +++ b/vim/ftplugin/gitconfig.vim @@ -0,0 +1,14 @@ +" Vim filetype plugin +" Language: git config file +" Maintainer: Tim Pope <vimNOSPAM@tpope.org> + +" Only do this when not done yet for this buffer +if (exists("b:did_ftplugin")) + finish +endif +let b:did_ftplugin = 1 + +setlocal formatoptions-=t formatoptions+=croql +setlocal comments=:#,:; commentstring=;\ %s + +let b:undo_ftplugin = "setl fo< com< cms<" |