Change the scss treesitter colors to scss ones and then map those to scss

This commit is contained in:
Kevin MacMartin 2024-03-14 01:35:51 -04:00
parent 265dbe1d3c
commit 39072e898e

View file

@ -367,16 +367,30 @@ endfun
hi! link @method @function hi! link @method @function
hi! link @note @comment hi! link @note @comment
"css
call s:C("@keyword.directive.css",g:cYellow,"","")
call s:C("@function.css",g:cGray1,"","")
call s:C("@tag.css",g:cYellow,"","")
call s:C("@property.css",g:cRed,"","bold")
call s:C("@variable.css",g:cBlue,"","bold")
call s:C("@number.css",g:cWhite,"","bold")
call s:C("@number.float.css",g:cWhite,"","bold")
call s:C("@type.css",g:cRed,"","bold")
call s:C("@punctuation.delimiter.css",g:cGray2,"","")
hi! link @punctuation.bracket.css @punctuation.delimiter.css
"scss "scss
call s:C("@keyword.directive.scss",g:cYellow,"","") hi! link @keyword.directive.scss @keyword.directive.css
call s:C("@tag.scss",g:cYellow,"","") hi! link @function.scss @function.css
call s:C("@property.scss",g:cRed,"","bold") hi! link @tag.scss @tag.css
call s:C("@variable.scss",g:cBlue,"","bold") hi! link @property.scss @property.css
call s:C("@type.scss",g:cRed,"","bold") hi! link @variable.scss @variable.css
call s:C("@punctuation.delimiter.scss",g:cGray2,"","") hi! link @variable.parameter.scss @variable.css
call s:C("@number.scss",g:cWhite,"","bold") hi! link @number.scss @number.css
hi! link @number.float.scss @number.scss hi! link @number.float.scss @number.float.css
hi! link @variable.parameter.scss @variable.scss hi! link @type.scss @type.css
hi! link @punctuation.delimiter.scss @punctuation.delimiter.css
hi! link @punctuation.bracket.scss @punctuation.delimiter.css
endif endif
"}}} "}}}