summaryrefslogtreecommitdiffstats
path: root/ftplugin/mustache.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin/mustache.vim')
-rw-r--r--ftplugin/mustache.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/ftplugin/mustache.vim b/ftplugin/mustache.vim
index c0eb6221..03889841 100644
--- a/ftplugin/mustache.vim
+++ b/ftplugin/mustache.vim
@@ -1,7 +1,4 @@
-if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'handlebars') != -1
- finish
-endif
-
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'handlebars') == -1
if exists('b:loaded_mustache_handlebars')
finish
endif
@@ -125,3 +122,4 @@ let &cpo = s:cpo_save
unlet s:cpo_save
" vim: nofoldenable
+endif