summaryrefslogtreecommitdiffstats
path: root/ftplugin/coffee.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin/coffee.vim')
-rw-r--r--ftplugin/coffee.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/ftplugin/coffee.vim b/ftplugin/coffee.vim
index 809c355f..7084424e 100644
--- a/ftplugin/coffee.vim
+++ b/ftplugin/coffee.vim
@@ -1,5 +1,7 @@
-if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'coffee-script') == -1
-
+if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'coffee-script') != -1
+ finish
+endif
+
" Language: CoffeeScript
" Maintainer: Mick Koch <mick@kochm.co>
" URL: http://github.com/kchmck/vim-coffee-script
@@ -405,5 +407,3 @@ 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