From e16e8144f6f6d31fb53be5e3912e3ecdba2233f1 Mon Sep 17 00:00:00 2001 From: Jonni Liljamo Date: Mon, 24 Mar 2025 10:08:49 +0200 Subject: [PATCH] feat(colourscheme): update everforest and override comment colours --- config/colourscheme.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/config/colourscheme.nix b/config/colourscheme.nix index 423d971..1c9afb6 100644 --- a/config/colourscheme.nix +++ b/config/colourscheme.nix @@ -5,16 +5,22 @@ src = pkgs.fetchFromGitHub { owner = "neanias"; repo = "everforest-nvim"; - rev = "ed4ba26"; - hash = "sha256-kVn6rUc26PtoqzKW/MNuks85sTLYx1lEE/l+7W0bDfg="; + rev = "135cc21"; + hash = "sha256-X+GaH76afaWmszGuLYf9VHP134jvmUCVSB7C7aiPSOs="; }; }) ]; + # https://github.com/neanias/everforest-nvim?tab=readme-ov-file#overriding-highlight-groups + # https://github.com/neanias/everforest-nvim/blob/main/lua/everforest/highlights.lua extraConfigLua = '' require('everforest').setup({ background = 'hard', italics = true, + on_highlights = function(hl, palette) + hl.Comment = { fg = palette.aqua } + hl.SpecialComment = { fg = palette.aqua } + end, }) vim.o.background = "light" ''; -- 2.44.1