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