feat: different color for type qualifiers
This commit is contained in:
parent
0824a68058
commit
561b4c7019
1 changed files with 2 additions and 1 deletions
|
@ -118,7 +118,7 @@ function PALETTE:set_treesitter_colors()
|
|||
vim.api.nvim_set_hl(0, "@constant.macro", HIGHLIGHT(self.purple.normal, nil, {italic=true}))
|
||||
vim.api.nvim_set_hl(0, "@string", HIGHLIGHT(self.purple.dark, nil, nil))
|
||||
vim.api.nvim_set_hl(0, "@string.escape", HIGHLIGHT(self.purple.dark, nil, {bold=true}))
|
||||
vim.api.nvim_set_hl(0, "@string.special", HIGHLIGHT(self.orange.dark, nil, nil)) -- ?
|
||||
vim.api.nvim_set_hl(0, "@string.special", HIGHLIGHT(self.purple.dark, nil, {italic=true})) -- ?
|
||||
vim.api.nvim_set_hl(0, "@macro", HIGHLIGHT(self.pink.bright, nil, nil))
|
||||
vim.api.nvim_set_hl(0, "@character", HIGHLIGHT(self.pink.normal, nil, nil))
|
||||
vim.api.nvim_set_hl(0, "@character.special", HIGHLIGHT(self.pink.normal, nil, nil))
|
||||
|
@ -146,6 +146,7 @@ function PALETTE:set_treesitter_colors()
|
|||
vim.api.nvim_set_hl(0, "@variable.builtin", HIGHLIGHT(self.white.dark, nil, {bold=true}))
|
||||
vim.api.nvim_set_hl(0, "@type.builtin", HIGHLIGHT(self.orange.dark, nil, {bold=true}))
|
||||
vim.api.nvim_set_hl(0, "@type.definition", HIGHLIGHT(self.orange.dark, nil, {italic=true}))
|
||||
vim.api.nvim_set_hl(0, "@type.qualifier", HIGHLIGHT(self.orange.dark, nil, nil))
|
||||
vim.api.nvim_set_hl(0, "@type", HIGHLIGHT(self.orange.normal, nil, nil))
|
||||
vim.api.nvim_set_hl(0, "@structure", HIGHLIGHT(self.orange.bright, nil, nil))
|
||||
vim.api.nvim_set_hl(0, "@storageclass", HIGHLIGHT(self.orange.normal, nil, {bold=true}))
|
||||
|
|
Loading…
Reference in a new issue