summaryrefslogtreecommitdiffstats
path: root/ftplugin/ember-script.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin/ember-script.vim')
-rw-r--r--ftplugin/ember-script.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/ftplugin/ember-script.vim b/ftplugin/ember-script.vim
index 49387198..2846bd12 100644
--- a/ftplugin/ember-script.vim
+++ b/ftplugin/ember-script.vim
@@ -1,7 +1,4 @@
-if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'emberscript') != -1
- finish
-endif
-
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'emberscript') == -1
" Language: ember-script
" Maintainer: Yulij Andreevich Lesov <yalesov@gmail.com>>
" URL: http://github.com/yalesov/vim-ember-script
@@ -23,3 +20,4 @@ else
endif
setlocal comments=:#
setlocal commentstring=#\ %s
+endif