summaryrefslogtreecommitdiffstats
path: root/compiler/coffee.vim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/coffee.vim')
-rw-r--r--compiler/coffee.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/compiler/coffee.vim b/compiler/coffee.vim
index d68bf74d..46a248e1 100644
--- a/compiler/coffee.vim
+++ b/compiler/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
@@ -84,3 +81,4 @@ augroup CoffeeUpdateMakePrg
autocmd BufWritePre,BufFilePost call s:UpdateMakePrg()
endif
augroup END
+endif