diff options
Diffstat (limited to 'indent/coffee.vim')
-rw-r--r-- | indent/coffee.vim | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/indent/coffee.vim b/indent/coffee.vim index fc9b58f7..bf39c733 100644 --- a/indent/coffee.vim +++ b/indent/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 @@ -428,5 +430,3 @@ function! GetCoffeeIndent(curlnum) " No special rules applied, so use the default policy. exec 'return' s:GetDefaultPolicy(a:curlnum) endfunction - -endif |