From da8bb941d5e0997233fc2faea74be6f1cbae7ad5 Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Thu, 19 Sep 2024 21:25:51 -0400 Subject: [PATCH] Improve diff syntax highlighting colors --- vim/colors/darkcloud.vim | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/vim/colors/darkcloud.vim b/vim/colors/darkcloud.vim index b98d31d..e7a211e 100644 --- a/vim/colors/darkcloud.vim +++ b/vim/colors/darkcloud.vim @@ -155,13 +155,17 @@ endfun hi! link ErrorMsg Error hi! link WarningMsg Error - "vimdiff + "diff call s:C("DiffAdd",g:cYellow,"","standout") + call s:C("DiffAdded",g:cBlue,"","bold") call s:C("DiffChange",g:cBlue,"","standout") call s:C("DiffDelete",g:cRed,"","standout") + call s:C("DiffFile","","","") + call s:C("DiffRemoved",g:cRed,"","bold") call s:C("DiffText",g:cGray2,"","standout") - call s:C("DiffAdded",g:cBlue,"","bold") - call s:C("DiffRemoved",g:cYellow,"","bold") + call s:C("diffIndexLine",g:cGray2,"","italic") + call s:C("diffNewFile",g:cBlue,"","bold,italic") + call s:C("diffOldFile",g:cRed,"","bold,italic") "}}} "LANGUAGE: {{{ @@ -185,11 +189,6 @@ endfun call s:C("sassMixinName",g:cGray2,"","bold") hi! link sassProperty Type - "diff - call s:C("diffIndexLine",g:cGray2,"","italic") - call s:C("diffNewFile",g:cBlue,"","italic") - call s:C("diffOldFile",g:cYellow,"","italic") - "dosini hi! link dosiniLabel Function @@ -402,13 +401,13 @@ endfun "diff call s:C("@attribute.diff",g:cYellow,"","") call s:C("@constant.diff","","","") - call s:C("@diff.minus",g:cYellow,"","") - call s:C("@diff.plus",g:cBlue,"","") call s:C("@function.diff",g:cRed,"","bold") call s:C("@keyword.diff","","","") call s:C("@number.diff","","","") call s:C("@punctuation.special.diff","","","") call s:C("@string.special.path.diff","","","") + hi! link @diff.minus DiffRemoved + hi! link @diff.plus DiffAdded "scss call s:C("@attribute.scss","","","")