summaryrefslogtreecommitdiffstats
path: root/indent/gitconfig.vim
diff options
context:
space:
mode:
Diffstat (limited to 'indent/gitconfig.vim')
-rw-r--r--indent/gitconfig.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/indent/gitconfig.vim b/indent/gitconfig.vim
index fd2ed5a9..0a156511 100644
--- a/indent/gitconfig.vim
+++ b/indent/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 indent file
" Language: git config file
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
@@ -40,3 +37,4 @@ function! GetGitconfigIndent()
return -1
endif
endfunction
+endif