summaryrefslogtreecommitdiffstats
path: root/autoload/css_color.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2015-07-18 23:05:45 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2015-07-18 23:05:45 +0200
commit92ab75408df8bff49bb29e113b3cc159d1ac3105 (patch)
tree77cd9b27eb0b1e43f8c456520748e6715bc7a250 /autoload/css_color.vim
parentf977779693518c748d87fb5babd98f6ef411837c (diff)
downloadvim-polyglot-92ab75408df8bff49bb29e113b3cc159d1ac3105.tar.gz
vim-polyglot-92ab75408df8bff49bb29e113b3cc159d1ac3105.zip
Allow for disabling individual languages, closes #66
Diffstat (limited to 'autoload/css_color.vim')
-rw-r--r--autoload/css_color.vim4
1 files changed, 4 insertions, 0 deletions
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 <pagaltzis@gmx.de>
" 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