summaryrefslogtreecommitdiffstats
path: root/after/syntax/html.vim
diff options
context:
space:
mode:
Diffstat (limited to 'after/syntax/html.vim')
-rw-r--r--after/syntax/html.vim8
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