summaryrefslogtreecommitdiffstats
path: root/after/ftplugin/coffee.vim
diff options
context:
space:
mode:
Diffstat (limited to 'after/ftplugin/coffee.vim')
-rw-r--r--after/ftplugin/coffee.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/after/ftplugin/coffee.vim b/after/ftplugin/coffee.vim
index 9c8f5843..2060d276 100644
--- a/after/ftplugin/coffee.vim
+++ b/after/ftplugin/coffee.vim
@@ -1,9 +1,9 @@
-if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'cjsx') == -1
-
+if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'cjsx') != -1
+ finish
+endif
+
if exists("loaded_matchit")
let b:match_ignorecase = 0
let b:match_words = '(:),\[:\],{:},<:>,' .
\ '<\@<=\([^/][^ \t>]*\)[^>]*\%(>\|$\):<\@<=/\1>'
endif
-
-endif