summaryrefslogtreecommitdiffstats
path: root/ftplugin/coffee.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin/coffee.vim')
-rw-r--r--ftplugin/coffee.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/ftplugin/coffee.vim b/ftplugin/coffee.vim
index 7084424e..2ccafc1f 100644
--- a/ftplugin/coffee.vim
+++ b/ftplugin/coffee.vim
@@ -1,7 +1,4 @@
-if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'coffee-script') != -1
- finish
-endif
-
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'coffee-script') == -1
" Language: CoffeeScript
" Maintainer: Mick Koch <mick@kochm.co>
" URL: http://github.com/kchmck/vim-coffee-script
@@ -407,3 +404,4 @@ command! -buffer -range=% -bar -nargs=* CoffeeRun
\ call s:CoffeeRun(<line1>, <line2>, <q-args>)
command! -buffer -range=% -bang -bar -nargs=* CoffeeLint
\ call s:CoffeeLint(<line1>, <line2>, <q-bang>, <q-args>)
+endif