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