diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2013-09-12 17:33:47 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2013-09-12 17:33:47 +0200 |
commit | 3bd65161236bf5344619861fbe18b30f5bfd1a23 (patch) | |
tree | 7ecdb8efb1f3ef4a290d82e4000d2ff52943308e /ftplugin/gitconfig.vim | |
parent | 5bc380150aee647d26a5a538ed855e9e82dcc7f7 (diff) | |
download | vim-polyglot-3bd65161236bf5344619861fbe18b30f5bfd1a23.tar.gz vim-polyglot-3bd65161236bf5344619861fbe18b30f5bfd1a23.zip |
Add git support by tpope-git
Diffstat (limited to '')
-rw-r--r-- | ftplugin/gitconfig.vim | 15 |
1 files changed, 15 insertions, 0 deletions
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 <vimNOSPAM@tpope.org> +" 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<" |