From 92ab75408df8bff49bb29e113b3cc159d1ac3105 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Sat, 18 Jul 2015 23:05:45 +0200 Subject: Allow for disabling individual languages, closes #66 --- after/ftplugin/coffee.vim | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'after/ftplugin/coffee.vim') diff --git a/after/ftplugin/coffee.vim b/after/ftplugin/coffee.vim index 104948d1..9c8f5843 100644 --- a/after/ftplugin/coffee.vim +++ b/after/ftplugin/coffee.vim @@ -1,5 +1,9 @@ +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 -- cgit v1.2.3