From d105bb4c39de40546a33256aa9adb3b9dc0ece5f Mon Sep 17 00:00:00 2001 From: hosseintoussi Date: Sat, 29 Dec 2018 23:33:54 +0100 Subject: [PATCH] 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. --- colors/codedark.vim | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/colors/codedark.vim b/colors/codedark.vim index 5e89687..c22b26e 100644 --- a/colors/codedark.vim +++ b/colors/codedark.vim @@ -256,6 +256,11 @@ call hi('jsDestructuringBlock', s:cdLightBlue, {}, 'none', {}) call hi('jsObjectKey', s:cdLightBlue, {}, 'none', {}) call hi('jsGlobalObjects', s:cdBlueGreen, {}, 'none', {}) +" XML: +call hi('xmlTag', s:cdBlueGreen, {}, 'none', {}) +call hi('xmlTagName', s:cdBlueGreen, {}, 'none', {}) +call hi('xmlEndTag', s:cdBlueGreen, {}, 'none', {}) + " Ruby: call hi('rubyClassNameTag', s:cdBlueGreen, {}, 'none', {}) call hi('rubyClassName', s:cdBlueGreen, {}, 'none', {})