mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2026-05-16 10:08:04 +02:00
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I36176a0c86fba8a6056b1041086285626a6a6964
27 lines
438 B
Nix
27 lines
438 B
Nix
{
|
|
config,
|
|
lib,
|
|
...
|
|
}: let
|
|
inherit (lib.modules) mkIf;
|
|
|
|
cfg = config.vim.utility.leetcode-nvim;
|
|
in {
|
|
config = mkIf cfg.enable {
|
|
vim = {
|
|
startPlugins = [
|
|
"plenary-nvim"
|
|
"fzf-lua"
|
|
"nui-nvim"
|
|
];
|
|
|
|
lazy.plugins.leetcode-nvim = {
|
|
package = "leetcode-nvim";
|
|
setupModule = "leetcode";
|
|
inherit (cfg) setupOpts;
|
|
};
|
|
|
|
telescope.enable = true;
|
|
};
|
|
};
|
|
}
|