summaryrefslogtreecommitdiffstats
path: root/indent/litcoffee.vim
diff options
context:
space:
mode:
Diffstat (limited to 'indent/litcoffee.vim')
-rw-r--r--indent/litcoffee.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/indent/litcoffee.vim b/indent/litcoffee.vim
index 55398462..ca747ea0 100644
--- a/indent/litcoffee.vim
+++ b/indent/litcoffee.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
+
if exists('b:did_indent')
finish
endif
@@ -22,5 +24,3 @@ function GetLitCoffeeIndent()
endif
endfunc
-
-endif