summaryrefslogtreecommitdiffstats
path: root/indent/jst.vim
diff options
context:
space:
mode:
Diffstat (limited to 'indent/jst.vim')
-rw-r--r--indent/jst.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/indent/jst.vim b/indent/jst.vim
index 493bbdae..806033dd 100644
--- a/indent/jst.vim
+++ b/indent/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:did_indent")
finish
endif
@@ -77,3 +74,4 @@ endfunction
" vim:set sw=2 sts=2 ts=8 noet:
+endif