From 0eb8d3ae1af6b29eafbf7604e98e6c12f44bac99 Mon Sep 17 00:00:00 2001 From: alemidev Date: Thu, 10 Nov 2022 14:15:41 +0100 Subject: [PATCH] fix: constants are bold, builtins are darker --- lua/peak-colorscheme.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/peak-colorscheme.lua b/lua/peak-colorscheme.lua index 7df44b2..676e537 100644 --- a/lua/peak-colorscheme.lua +++ b/lua/peak-colorscheme.lua @@ -113,7 +113,7 @@ function PALETTE:set_treesitter_colors() 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", HIGHLIGHT(self.purple.bright, nil, {bold=true})) vim.api.nvim_set_hl(0, "@constant.builtin", HIGHLIGHT(self.purple.normal, nil, {bold=true})) 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))