Style .diff files to look like git diff

This commit is contained in:
Kevin MacMartin 2024-05-20 16:53:44 -04:00
parent f57accd719
commit d097af3980

View file

@ -399,10 +399,14 @@ endfun
"diff "diff
call s:C("@attribute.diff",g:cYellow,"","") call s:C("@attribute.diff",g:cYellow,"","")
call s:C("@constant.diff",g:cBlue,"","italic") call s:C("@constant.diff","","","")
call s:C("@diff.minus",g:cYellow,"","") call s:C("@diff.minus",g:cYellow,"","")
call s:C("@diff.plus",g:cBlue,"","") call s:C("@diff.plus",g:cBlue,"","")
call s:C("@function.diff",g:cRed,"","bold") 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","","","")
"scss "scss
call s:C("@attribute.scss","","","") call s:C("@attribute.scss","","","")