diff options
Diffstat (limited to 'autoload/coffee.vim')
-rw-r--r-- | autoload/coffee.vim | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/autoload/coffee.vim b/autoload/coffee.vim index ba5e7ff8..beeed729 100644 --- a/autoload/coffee.vim +++ b/autoload/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 @@ -54,5 +56,3 @@ function! coffee#CoffeeSetUpErrorFormat() \%f:%l:%c:\ error:\ %m, \%-G%.%# endfunction - -endif |