From eb7fde547c8bd214070bc02ed0cf3b831542900c Mon Sep 17 00:00:00 2001 From: Aldimhr Date: Fri, 17 Sep 2021 14:48:01 +0700 Subject: [PATCH 1/2] add html tag color --- colors/ayu.vim | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/colors/ayu.vim b/colors/ayu.vim index caf5b94..9692de8 100644 --- a/colors/ayu.vim +++ b/colors/ayu.vim @@ -323,6 +323,32 @@ call ayu#hi('xmlEqual', 'operator', '') " }}} +" HTML:" {{{ + +hi def htmlBold term=bold cterm=bold gui=bold +hi def htmlBoldUnderline term=bold,underline cterm=bold,underline gui=bold,underline +hi def htmlBoldItalic term=bold,italic cterm=bold,italic gui=bold,italic +hi def htmlBoldUnderlineItalic term=bold,italic,underline cterm=bold,italic,underline gui=bold,italic,underline +hi def htmlUnderline term=underline cterm=underline gui=underline +hi def htmlUnderlineItalic term=italic,underline cterm=italic,underline gui=italic,underline +hi def htmlItalic term=italic cterm=italic gui=italic + +" open - close tag +call ayu#hi('htmlTag', 'tag', '') +call ayu#hi('htmlTagName', 'entity', '') +call ayu#hi('htmlTagN', 'entity', '') +call ayu#hi('htmlEndTag', 'tag', '') + +" attribute +call ayu#hi('htmlArg', 'operator', '') + +" text inner tag +hi link htmlH1 Normal +hi link htmlTitle Normal + +" }}} + + " INI:" {{{ call ayu#hi('dosiniHeader', 'keyword', '') " }}} From 0125440c15da57ca9fb7617fb46bc779ce6c5599 Mon Sep 17 00:00:00 2001 From: Aldimhr Date: Sat, 2 Oct 2021 12:47:49 +0700 Subject: [PATCH 2/2] change color text in tag & delete typograph emphasis --- colors/ayu.vim | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/colors/ayu.vim b/colors/ayu.vim index 9692de8..96a864d 100644 --- a/colors/ayu.vim +++ b/colors/ayu.vim @@ -325,14 +325,6 @@ call ayu#hi('xmlEqual', 'operator', '') " HTML:" {{{ -hi def htmlBold term=bold cterm=bold gui=bold -hi def htmlBoldUnderline term=bold,underline cterm=bold,underline gui=bold,underline -hi def htmlBoldItalic term=bold,italic cterm=bold,italic gui=bold,italic -hi def htmlBoldUnderlineItalic term=bold,italic,underline cterm=bold,italic,underline gui=bold,italic,underline -hi def htmlUnderline term=underline cterm=underline gui=underline -hi def htmlUnderlineItalic term=italic,underline cterm=italic,underline gui=italic,underline -hi def htmlItalic term=italic cterm=italic gui=italic - " open - close tag call ayu#hi('htmlTag', 'tag', '') call ayu#hi('htmlTagName', 'entity', '') @@ -343,6 +335,7 @@ call ayu#hi('htmlEndTag', 'tag', '') call ayu#hi('htmlArg', 'operator', '') " text inner tag +hi link htmlLink Normal hi link htmlH1 Normal hi link htmlTitle Normal