summaryrefslogtreecommitdiffstats
path: root/syntax/jst.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/jst.vim')
-rw-r--r--syntax/jst.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/syntax/jst.vim b/syntax/jst.vim
index 0059716a..4174b44c 100644
--- a/syntax/jst.vim
+++ b/syntax/jst.vim
@@ -1,7 +1,4 @@
-if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'jst') != -1
- finish
-endif
-
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'jst') == -1
if exists("b:current_syntax")
finish
endif
@@ -89,3 +86,4 @@ if exists("loaded_matchit")
endif
" vim: nowrap sw=2 sts=2 ts=8:
+endif