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.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/after/ftplugin/coffee.vim b/after/ftplugin/coffee.vim
index 2060d276..2e3f7170 100644
--- a/after/ftplugin/coffee.vim
+++ b/after/ftplugin/coffee.vim
@@ -1,9 +1,7 @@
-if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'cjsx') != -1
- finish
-endif
-
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'cjsx') == -1
if exists("loaded_matchit")
let b:match_ignorecase = 0
let b:match_words = '(:),\[:\],{:},<:>,' .
\ '<\@<=\([^/][^ \t>]*\)[^>]*\%(>\|$\):<\@<=/\1>'
endif
+endif