summaryrefslogtreecommitdiffstats
path: root/syntax/cql.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/cql.vim')
-rw-r--r--syntax/cql.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/syntax/cql.vim b/syntax/cql.vim
index 2607b025..df9a1c35 100644
--- a/syntax/cql.vim
+++ b/syntax/cql.vim
@@ -1,5 +1,7 @@
-if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'cql') == -1
-
+if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'cql') != -1
+ finish
+endif
+
" Vim syntax file
" Language: cql
" Maintainer: Eric Lubow <eric@lubow.org
@@ -131,5 +133,3 @@ endif
let b:current_syntax = "cql"
-
-endif