highlighting for XML and JSX to fix open/close tags This fixes

issue #21. The reason for this is the default XML syntax which
has different colors on start and end tags. This PR sets the open
and close tags color to "BlueGreen" which is what VS code uses.
This commit is contained in:
hosseintoussi 2018-12-29 23:33:54 +01:00
commit d105bb4c39

View file

@ -256,6 +256,11 @@ call <sid>hi('jsDestructuringBlock', s:cdLightBlue, {}, 'none', {})
call <sid>hi('jsObjectKey', s:cdLightBlue, {}, 'none', {})
call <sid>hi('jsGlobalObjects', s:cdBlueGreen, {}, 'none', {})
" XML:
call <sid>hi('xmlTag', s:cdBlueGreen, {}, 'none', {})
call <sid>hi('xmlTagName', s:cdBlueGreen, {}, 'none', {})
call <sid>hi('xmlEndTag', s:cdBlueGreen, {}, 'none', {})
" Ruby:
call <sid>hi('rubyClassNameTag', s:cdBlueGreen, {}, 'none', {})
call <sid>hi('rubyClassName', s:cdBlueGreen, {}, 'none', {})