summaryrefslogtreecommitdiffstats
path: root/indent/litcoffee.vim
diff options
context:
space:
mode:
Diffstat (limited to 'indent/litcoffee.vim')
-rw-r--r--indent/litcoffee.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/indent/litcoffee.vim b/indent/litcoffee.vim
index ca747ea0..d8382308 100644
--- a/indent/litcoffee.vim
+++ b/indent/litcoffee.vim
@@ -1,7 +1,4 @@
-if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'coffee-script') != -1
- finish
-endif
-
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'coffee-script') == -1
if exists('b:did_indent')
finish
endif
@@ -24,3 +21,4 @@ function GetLitCoffeeIndent()
endif
endfunc
+endif