From 3bd65161236bf5344619861fbe18b30f5bfd1a23 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Thu, 12 Sep 2013 17:33:47 +0200 Subject: Add git support by tpope-git --- ftplugin/gitconfig.vim | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 ftplugin/gitconfig.vim (limited to 'ftplugin/gitconfig.vim') diff --git a/ftplugin/gitconfig.vim b/ftplugin/gitconfig.vim new file mode 100644 index 00000000..833b8b14 --- /dev/null +++ b/ftplugin/gitconfig.vim @@ -0,0 +1,15 @@ +" Vim filetype plugin +" Language: git config file +" Maintainer: Tim Pope +" Last Change: 2009 Dec 24 + +" 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 v1.2.3