nixos/pkgsets/nvim/kanagawa-nvim.nix

24 lines
431 B
Nix
Raw Normal View History

{
lib,
config,
...
}:
lib.mkIf (lib.elem "nvim::kanagawa-nvim" config.machine.pkgs) {
programs.nvim-lazy.lazyPlugins = [
{
dir = vPlug: vPlug.kanagawa-nvim;
priority = 1000;
config = # lua
''
function()
require('kanagawa').setup({
transparent = true,
})
vim.cmd([[colorscheme kanagawa-wave]])
end
'';
}
];
}