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/syntax/html.vim | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'after/syntax/html.vim') diff --git a/after/syntax/html.vim b/after/syntax/html.vim index b9dc9f98..7ea622c6 100644 --- a/after/syntax/html.vim +++ b/after/syntax/html.vim @@ -1,3 +1,5 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'coffee-script') == -1 + " Language: CoffeeScript " Maintainer: Mick Koch " URL: http://github.com/kchmck/vim-coffee-script @@ -9,6 +11,10 @@ syn region coffeeScript start=##me=s-1 keepend \ contains=@htmlCoffeeScript,htmlScriptTag,@htmlPreproc \ containedin=htmlHead + +endif +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'less') == -1 + if !exists("g:less_html_style_tags") let g:less_html_style_tags = 1 endif @@ -35,6 +41,10 @@ syn region lessStyle start=+