summaryrefslogtreecommitdiffstats
path: root/after/indent/html.vim
diff options
context:
space:
mode:
Diffstat (limited to 'after/indent/html.vim')
-rw-r--r--after/indent/html.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/after/indent/html.vim b/after/indent/html.vim
index 47da18f0..d6c1e812 100644
--- a/after/indent/html.vim
+++ b/after/indent/html.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
@@ -33,5 +35,3 @@ function! GetCoffeeHtmlIndent(curlinenum)
" Otherwise use html indenting.
exec 'return ' s:htmlIndentExpr
endfunction
-
-endif