mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-13 18:54:30 +02: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
|
@ -11,6 +11,8 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
|
||||
maintainers = [ maintainers.GaetanLepage ];
|
||||
|
||||
dependencies = [ "curl" ];
|
||||
|
||||
# TODO: added 2025-04-06, remove after 25.05
|
||||
imports = [
|
||||
(lib.nixvim.mkRemovedPackageOptionModule {
|
||||
|
@ -19,8 +21,6 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
})
|
||||
];
|
||||
|
||||
extraConfig = cfg: { dependencies.curl.enable = lib.mkDefault true; };
|
||||
|
||||
settingsOptions = {
|
||||
api_key_cmd = helpers.defaultNullOpts.mkStr null ''
|
||||
The path and arguments to an executable that returns the API key via stdout.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue