mirror of
https://github.com/prurigro/darkcloud-nvimconfig.git
synced 2024-11-24 20:31:25 -05:00
Get the treesitter diff parser colors working nicely by defining some colors and mixing it with the classic syntax
This commit is contained in:
parent
a8abf09911
commit
571ec0a009
2 changed files with 8 additions and 1 deletions
|
@ -409,6 +409,13 @@ endfun
|
||||||
hi! link @number.scss @number.css
|
hi! link @number.scss @number.css
|
||||||
hi! link @property.scss @property.css
|
hi! link @property.scss @property.css
|
||||||
hi! link @variable.scss @variable.css
|
hi! link @variable.scss @variable.css
|
||||||
|
|
||||||
|
"diff
|
||||||
|
call s:C("@attribute.diff",g:cYellow,"","")
|
||||||
|
call s:C("@constant.diff",g:cBlue,"","italic")
|
||||||
|
call s:C("@diff.minus",g:cYellow,"","")
|
||||||
|
call s:C("@diff.plus",g:cBlue,"","")
|
||||||
|
call s:C("@function.diff",g:cRed,"","bold")
|
||||||
endif
|
endif
|
||||||
"}}}
|
"}}}
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@ if (vim.g.enabletreesitter == 1) then
|
||||||
highlight = {
|
highlight = {
|
||||||
enable = true,
|
enable = true,
|
||||||
disable = { "gitcommit", "markdown" },
|
disable = { "gitcommit", "markdown" },
|
||||||
additional_vim_regex_highlighting = { "scss" },
|
additional_vim_regex_highlighting = { "diff", "scss" },
|
||||||
},
|
},
|
||||||
|
|
||||||
textobjects = {
|
textobjects = {
|
||||||
|
|
Loading…
Reference in a new issue