diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2014-04-15 01:23:13 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2014-04-15 01:23:13 +0200 |
commit | 6c198a3ca9c392069c119282b702028fbfb5edf3 (patch) | |
tree | b6682250df66366c9828ecce2d2b1dc7009e3456 /after/syntax/html.vim | |
parent | a4c9223257368b63558372a4b91ea24e40aa2935 (diff) | |
download | vim-polyglot-6c198a3ca9c392069c119282b702028fbfb5edf3.tar.gz vim-polyglot-6c198a3ca9c392069c119282b702028fbfb5edf3.zip |
Switch back to css-color, fixes #23
Diffstat (limited to 'after/syntax/html.vim')
-rw-r--r-- | after/syntax/html.vim | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/after/syntax/html.vim b/after/syntax/html.vim index c1ccd239..104642c2 100644 --- a/after/syntax/html.vim +++ b/after/syntax/html.vim @@ -9,4 +9,10 @@ syn region coffeeScript start=#<script [^>]*type="text/coffeescript"[^>]*># \ end=#</script>#me=s-1 keepend \ contains=@htmlCoffeeScript,htmlScriptTag,@htmlPreproc \ containedin=htmlHead -syn include syntax/css/vim-coloresque.vim +" Language: Colorful CSS Color Preview +" Author: Aristotle Pagaltzis <pagaltzis@gmx.de> + +if !( has('gui_running') || &t_Co==256 ) | finish | endif + +" default html syntax should already be including the css syntax +syn cluster colorableGroup add=htmlString,htmlCommentPart |