mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-02-22 19:38:00 +00:00
27 lines
430 B
Nix
27 lines
430 B
Nix
![]() |
{
|
||
|
config,
|
||
|
lib,
|
||
|
...
|
||
|
}: let
|
||
|
inherit (lib.modules) mkIf;
|
||
|
|
||
|
cfg = config.vim.utility.leetcode-nvim;
|
||
|
in {
|
||
|
config = mkIf cfg.enable {
|
||
|
vim = {
|
||
|
startPlugins = [
|
||
|
"leetcode-nvim"
|
||
|
"plenary-nvim"
|
||
|
"fzf-lua"
|
||
|
"nui-nvim"
|
||
|
];
|
||
|
|
||
|
lazy.plugins.leetcode-nvim = {
|
||
|
package = "leetcode-nvim";
|
||
|
setupModule = "leetcode";
|
||
|
inherit (cfg) setupOpts;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|