Compare commits

...

2 commits

2 changed files with 9 additions and 5 deletions

View file

@ -177,6 +177,8 @@ endfun
call s:C("sassClass",g:cGray1,"","bold") call s:C("sassClass",g:cGray1,"","bold")
call s:C("sassClassChar",g:cBlue,"","bold") call s:C("sassClassChar",g:cBlue,"","bold")
call s:C("sassDefinition",g:cGray2,"","bold") call s:C("sassDefinition",g:cGray2,"","bold")
call s:C("sassMediaQuery",g:cGray2,"","bold")
call s:C("sassMixinName",g:cGray2,"","bold")
"diff "diff
call s:C("diffIndexLine",g:cGray2,"","italic") call s:C("diffIndexLine",g:cGray2,"","italic")
@ -243,6 +245,8 @@ endfun
hi! link objcSuperclass objcClass hi! link objcSuperclass objcClass
"php "php
call s:C("phpIdentifier",g:cBlue,"","")
call s:C("phpRelation",g:cYellow,"","")
hi! link phpArrayPair Operator hi! link phpArrayPair Operator
hi! link phpNull Constant hi! link phpNull Constant
hi! link phpSuperglobal Identifier hi! link phpSuperglobal Identifier
@ -379,7 +383,7 @@ endfun
hi! link @note @comment hi! link @note @comment
"css "css
call s:C("@function.css",g:cWhite,"","") call s:C("@function.css",g:cBlue,"","")
call s:C("@keyword.directive.css",g:cYellow,"","") call s:C("@keyword.directive.css",g:cYellow,"","")
call s:C("@number.css",g:cYellow,"","bold") call s:C("@number.css",g:cYellow,"","bold")
call s:C("@number.float.css",g:cYellow,"","bold") call s:C("@number.float.css",g:cYellow,"","bold")
@ -393,22 +397,22 @@ endfun
"scss "scss
call s:C("@attribute.scss","","","") call s:C("@attribute.scss","","","")
call s:C("@character.special.scss",g:cBlue,"","bold") call s:C("@character.special.scss",g:cBlue,"","bold")
call s:C("@function.scss","","","")
call s:C("@keyword.import.scss","","","") call s:C("@keyword.import.scss","","","")
call s:C("@keyword.operator.scss","","","") call s:C("@keyword.operator.scss","","","")
call s:C("@keyword.scss","","","") call s:C("@keyword.scss","","","")
call s:C("@operator.scss","","","") call s:C("@operator.scss","","","")
call s:C("@property.scss","","","")
call s:C("@punctuation.bracket.scss","","","") call s:C("@punctuation.bracket.scss","","","")
call s:C("@punctuation.delimiter.scss","","","") call s:C("@punctuation.delimiter.scss","","","")
call s:C("@string.scss","","","") call s:C("@string.scss","","","")
call s:C("@tag.scss","","","") call s:C("@tag.scss","","","")
call s:C("@type.scss",g:cGray1,"","bold") call s:C("@type.scss",g:cGray1,"","bold")
call s:C("@variable.parameter.scss","","","") call s:C("@variable.parameter.scss","","","")
hi! link @function.scss @function.css call s:C("@variable.scss","","","")
hi! link @keyword.directive.scss @keyword.directive.css hi! link @keyword.directive.scss @keyword.directive.css
hi! link @number.float.scss @number.float.css hi! link @number.float.scss @number.float.css
hi! link @number.scss @number.css hi! link @number.scss @number.css
hi! link @property.scss @property.css
hi! link @variable.scss @variable.css
"diff "diff
call s:C("@attribute.diff",g:cYellow,"","") call s:C("@attribute.diff",g:cYellow,"","")

View file

@ -18,7 +18,7 @@ if (vim.g.enabletreesitter == 1) then
highlight = { highlight = {
enable = true, enable = true,
disable = { "gitcommit", "markdown", "tmux" }, disable = { "gitcommit", "markdown", "tmux" },
additional_vim_regex_highlighting = { "diff", "scss" }, additional_vim_regex_highlighting = { "diff", "php", "scss" },
}, },
textobjects = { textobjects = {