summaryrefslogtreecommitdiffstats
path: root/indent/jst.vim
diff options
context:
space:
mode:
Diffstat (limited to 'indent/jst.vim')
-rw-r--r--indent/jst.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/indent/jst.vim b/indent/jst.vim
index 773500dc..493bbdae 100644
--- a/indent/jst.vim
+++ b/indent/jst.vim
@@ -1,5 +1,7 @@
-if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'jst') == -1
-
+if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'jst') != -1
+ finish
+endif
+
if exists("b:did_indent")
finish
endif
@@ -75,5 +77,3 @@ endfunction
" vim:set sw=2 sts=2 ts=8 noet:
-
-endif