From 0d23b6e515a01a5782532351821ebfa11f3d6cf2 Mon Sep 17 00:00:00 2001 From: Ben Beltran Date: Mon, 8 Oct 2012 11:44:10 -0500 Subject: Add vim again :) --- vim/ftplugin/gitconfig.vim | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 vim/ftplugin/gitconfig.vim (limited to 'vim/ftplugin/gitconfig.vim') 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 + +" 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<" -- cgit