diff options
Diffstat (limited to 'compiler/cake.vim')
-rw-r--r-- | compiler/cake.vim | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/compiler/cake.vim b/compiler/cake.vim index 159bd59e..c5ca4b6a 100644 --- a/compiler/cake.vim +++ b/compiler/cake.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 @@ -17,3 +14,4 @@ call coffee#CoffeeSetUpVariables() exec 'CompilerSet makeprg=' . escape(g:coffee_cake . ' ' . \ g:coffee_cake_options . ' $*', ' ') call coffee#CoffeeSetUpErrorFormat() +endif |