mirror of
https://github.com/nix-community/nixvim.git
synced 2025-12-09 18:41:07 +01:00
plugins: use mk{Neovim,Vim}Plugin's dependencies parameter
This commit is contained in:
parent
b66559d8ef
commit
1a64636839
49 changed files with 147 additions and 207 deletions
|
|
@ -18,6 +18,14 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
You are free to configure `dependencies.*.enable` and `dependencies.*.package` to disable or customize this behavior, respectively.
|
||||
'';
|
||||
|
||||
dependencies = [
|
||||
"curl"
|
||||
"gzip"
|
||||
"coreutils"
|
||||
"util-linux"
|
||||
"codeium"
|
||||
];
|
||||
|
||||
imports = [
|
||||
# Register nvim-cmp association
|
||||
{ cmpSourcePlugins.codeium = "windsurf-nvim"; }
|
||||
|
|
@ -26,19 +34,4 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
settingsExample = {
|
||||
enable_chat = true;
|
||||
};
|
||||
|
||||
extraConfig = {
|
||||
dependencies =
|
||||
lib.genAttrs
|
||||
[
|
||||
"curl"
|
||||
"gzip"
|
||||
"coreutils"
|
||||
"util-linux"
|
||||
"codeium"
|
||||
]
|
||||
(_: {
|
||||
enable = lib.mkDefault true;
|
||||
});
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue