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