From e6eb19647cf4dc931bc9ad334abb6eb559cdbd72 Mon Sep 17 00:00:00 2001 From: alemi Date: Sat, 8 Apr 2023 21:09:13 +0200 Subject: [PATCH] fix: use function-macro color rather than italic --- lua/peak-colorscheme.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/peak-colorscheme.lua b/lua/peak-colorscheme.lua index 6e9311b..7adf26f 100644 --- a/lua/peak-colorscheme.lua +++ b/lua/peak-colorscheme.lua @@ -86,7 +86,7 @@ local PALETTE = { --|| THEME DEFINITIONS function PALETTE:set_syntax_colors() - -- FG BG ATTR + -- FG BG ATTRla vim.api.nvim_set_hl(0, "Whitespace", HIGHLIGHT(self.black.normal, nil, nil)) -- set color for whitespace vim.api.nvim_set_hl(0, "Comment", HIGHLIGHT(self.gray.normal, nil, nil)) vim.api.nvim_set_hl(0, "Constant", HIGHLIGHT(self.purple.bright, nil, nil)) @@ -168,7 +168,7 @@ function PALETTE:set_semantic_colors() 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.keyword", { link = "@keyword" }) - vim.api.nvim_set_hl(0, "@lsp.type.macro", HIGHLIGHT(nil, nil, {italic=true})) + vim.api.nvim_set_hl(0, "@lsp.type.macro", { link = "@function.macro" }) vim.api.nvim_set_hl(0, "@lsp.type.method", { link = "@method" }) vim.api.nvim_set_hl(0, "@lsp.type.namespace", { link = "@namespace" }) vim.api.nvim_set_hl(0, "@lsp.type.parameter", { link = "@parameter" })