{pkgs, ...}: {
extraPlugins = [
(pkgs.vimUtils.buildVimPlugin {
name = "everforest";
src = pkgs.fetchFromGitHub {
owner = "neanias";
repo = "everforest-nvim";
rev = "2eb7c34";
hash = "sha256-LMIGPDhKZVqriGuPR9ICVo55QdyByLXOoRK82KfsRxU=";
};
})
];
# 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 = ''
local everforest = require('everforest')
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"
local colours = require("everforest.colours")
local palette = colours.generate_palette(everforest.config, vim.o.background)
-- set telescope colours
vim.api.nvim_set_hl(0, "TelescopeResultsBorder", { bg = palette.bg_green })
vim.api.nvim_set_hl(0, "TelescopePreviewBorder", { bg = palette.bg_red })
'';
colorscheme = "everforest";
}