fix: added punctation.special and variable.builtin

This commit is contained in:
əlemi 2022-11-07 01:47:27 +01:00
parent 7144cfeb12
commit 630b5e4b5e
No known key found for this signature in database
GPG key ID: BBCBFE5D7244634E

View file

@ -111,6 +111,7 @@ function PALETTE:set_treesitter_colors()
vim.api.nvim_set_hl(0, "@text.todo", HIGHLIGHT(self.gray.normal, nil, {italic=true}))
vim.api.nvim_set_hl(0, "@comment", HIGHLIGHT(self.gray.normal, nil, nil))
vim.api.nvim_set_hl(0, "@punctuation", HIGHLIGHT(self.gray.bright, nil, nil))
vim.api.nvim_set_hl(0, "@punctuation.special", HIGHLIGHT(self.yellow.dark, nil, nil))
vim.api.nvim_set_hl(0, "@constant", HIGHLIGHT(self.purple.normal, nil, nil))
vim.api.nvim_set_hl(0, "@constant.builtin", HIGHLIGHT(self.purple.normal, nil, {bold=true}))
@ -142,6 +143,7 @@ function PALETTE:set_treesitter_colors()
vim.api.nvim_set_hl(0, "@exception", HIGHLIGHT(self.red.dark, nil, {bold=true}))
vim.api.nvim_set_hl(0, "@variable", HIGHLIGHT(self.white.bright, nil, nil))
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", HIGHLIGHT(self.orange.normal, nil, nil))