diff options
Diffstat (limited to 'syntax/gitconfig.vim')
-rw-r--r-- | syntax/gitconfig.vim | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/syntax/gitconfig.vim b/syntax/gitconfig.vim index fbdedc51..438cceae 100644 --- a/syntax/gitconfig.vim +++ b/syntax/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 syntax file " Language: git config file " Maintainer: Tim Pope <vimNOSPAM@tpope.org> @@ -36,5 +38,3 @@ hi def link gitconfigEscape Delimiter hi def link gitconfigError Error let b:current_syntax = "gitconfig" - -endif |