summaryrefslogtreecommitdiffstats
path: root/indent/gitconfig.vim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--indent/gitconfig.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/indent/gitconfig.vim b/indent/gitconfig.vim
index e0e4a456..fd2ed5a9 100644
--- a/indent/gitconfig.vim
+++ b/indent/gitconfig.vim
@@ -1,5 +1,7 @@
-if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'git') == -1
-
+if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'git') != -1
+ finish
+endif
+
" Vim indent file
" Language: git config file
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
@@ -38,5 +40,3 @@ function! GetGitconfigIndent()
return -1
endif
endfunction
-
-endif