fix: lsp operators, arguments, special punctuation

This commit is contained in:
əlemi 2023-04-19 18:59:47 +02:00
parent fc3483d909
commit 1f39660946
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -114,7 +114,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, "@punctuation.special", HIGHLIGHT(self.gray.bright, nil, {bold=true}))
vim.api.nvim_set_hl(0, "@constant", HIGHLIGHT(self.purple.bright, nil, {bold=true}))
vim.api.nvim_set_hl(0, "@constant.builtin", HIGHLIGHT(self.purple.normal, nil, {bold=true}))
@ -132,7 +132,7 @@ function PALETTE:set_treesitter_colors()
vim.api.nvim_set_hl(0, "@function", HIGHLIGHT(self.azure.normal, nil, nil))
vim.api.nvim_set_hl(0, "@function.macro", HIGHLIGHT(self.azure.dark, nil, nil))
vim.api.nvim_set_hl(0, "@function.builtin", HIGHLIGHT(self.azure.dark, nil, {bold=true}))
vim.api.nvim_set_hl(0, "@parameter", HIGHLIGHT(self.gray.normal, nil, nil))
vim.api.nvim_set_hl(0, "@parameter", HIGHLIGHT(self.white.dark, nil, nil))
vim.api.nvim_set_hl(0, "@method", HIGHLIGHT(self.blue.bright, nil, nil))
vim.api.nvim_set_hl(0, "@field", HIGHLIGHT(self.blue.normal, nil, nil))
vim.api.nvim_set_hl(0, "@property", HIGHLIGHT(self.blue.dark, nil, nil))
@ -170,6 +170,7 @@ function PALETTE:set_semantic_colors()
vim.api.nvim_set_hl(0, "@lsp.type.enumMember", {}) -- HIGHLIGHT(self.orange.bright, nil, {bold=true}))
vim.api.nvim_set_hl(0, "@lsp.type.function", { link = "@function" })
vim.api.nvim_set_hl(0, "@lsp.type.interface", { link = "@type.qualifier" })
vim.api.nvim_set_hl(0, "@lsp.type.operator", { link = "@operator" })
-- vim.api.nvim_set_hl(0, "@lsp.type.keyword", { link = "@keyword" })
vim.api.nvim_set_hl(0, "@lsp.type.macro", { link = "@function.macro" })
vim.api.nvim_set_hl(0, "@lsp.type.method", { link = "@method" })