mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-16 04:04:34 +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
|
@ -61,6 +61,8 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
"searchBack"
|
||||
];
|
||||
|
||||
dependencies = [ "curl" ];
|
||||
|
||||
settingsOptions = {
|
||||
custom_dynamic_variables = lib.mkOption {
|
||||
type = with types; nullOr (maybeRaw (attrsOf strLuaFn));
|
||||
|
@ -302,8 +304,6 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
|
||||
globals.rest_nvim = cfg.settings;
|
||||
|
||||
dependencies.curl.enable = lib.mkDefault true;
|
||||
|
||||
filetype = lib.mkIf cfg.enableHttpFiletypeAssociation {
|
||||
extension.http = "http";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue