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