From 1f3966094693609f5991860dd87ff4ec6546929b Mon Sep 17 00:00:00 2001 From: alemi Date: Wed, 19 Apr 2023 18:59:47 +0200 Subject: [PATCH] fix: lsp operators, arguments, special punctuation --- lua/peak-colorscheme.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lua/peak-colorscheme.lua b/lua/peak-colorscheme.lua index 46f42bd..cd1b1b1 100644 --- a/lua/peak-colorscheme.lua +++ b/lua/peak-colorscheme.lua @@ -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" })