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 --- autoload/css_color.vim | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'autoload/css_color.vim') diff --git a/autoload/css_color.vim b/autoload/css_color.vim index cc0f1f60..5334a423 100644 --- a/autoload/css_color.vim +++ b/autoload/css_color.vim @@ -1,3 +1,5 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'css-color') == -1 + " Language: Colorful CSS Color Preview " Author: Aristotle Pagaltzis " Commit: $Format:%H$ @@ -570,3 +572,5 @@ function! css_color#init(type, keywords, groups) syn keyword BGf5f5f5 WhiteSmoke contained containedin=@colorableGroup syn keyword BG9acd32 YellowGreen contained containedin=@colorableGroup endfunction + +endif -- cgit v1.2.3