summaryrefslogtreecommitdiffstats
path: root/ftplugin/gitconfig.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin/gitconfig.vim')
-rw-r--r--ftplugin/gitconfig.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/ftplugin/gitconfig.vim b/ftplugin/gitconfig.vim
index 325b771e..0f0d705b 100644
--- a/ftplugin/gitconfig.vim
+++ b/ftplugin/gitconfig.vim
@@ -1,7 +1,4 @@
-if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'git') != -1
- finish
-endif
-
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'git') == -1
" Vim filetype plugin
" Language: git config file
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
@@ -17,3 +14,4 @@ setlocal formatoptions-=t formatoptions+=croql
setlocal comments=:#,:; commentstring=;\ %s
let b:undo_ftplugin = "setl fo< com< cms<"
+endif