summaryrefslogtreecommitdiffstats
path: root/syntax/gitrebase.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/gitrebase.vim')
-rw-r--r--syntax/gitrebase.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/syntax/gitrebase.vim b/syntax/gitrebase.vim
index da1c4a21..01b4cc0f 100644
--- a/syntax/gitrebase.vim
+++ b/syntax/gitrebase.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 rebase --interactive
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
@@ -44,5 +46,3 @@ hi def link gitrebaseComment Comment
hi def link gitrebaseSquashError Error
let b:current_syntax = "gitrebase"
-
-endif