summaryrefslogtreecommitdiffstats
path: root/after/syntax/haml.vim
diff options
context:
space:
mode:
Diffstat (limited to 'after/syntax/haml.vim')
-rw-r--r--after/syntax/haml.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/after/syntax/haml.vim b/after/syntax/haml.vim
index 5128f7e5..da2ea2b1 100644
--- a/after/syntax/haml.vim
+++ b/after/syntax/haml.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: Sven Felix Oberquelle <Svelix.Github@gmail.com>
" URL: http://github.com/kchmck/vim-coffee-script
@@ -23,5 +25,3 @@ if exists('s:current_syntax_save')
let b:current_syntax = s:current_syntax_save
unlet s:current_syntax_save
endif
-
-endif