mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
lib/plugins: take ownership of modules
utils
These util functions were previously defined in `modules`, but `plugins.utils` is a better home.
This commit is contained in:
parent
ec97297fd5
commit
896f6be694
8 changed files with 45 additions and 38 deletions
|
@ -150,7 +150,7 @@ in
|
|||
end
|
||||
''
|
||||
);
|
||||
settings = lib.nixvim.modules.applyExtraConfig {
|
||||
settings = lib.nixvim.plugins.utils.applyExtraConfig {
|
||||
extraConfig = settings;
|
||||
cfg = cfg.settings;
|
||||
opts = opts.settings;
|
||||
|
@ -177,7 +177,7 @@ in
|
|||
) "You can use `${basePluginPathString}.extraOptions.settings` instead.")
|
||||
]
|
||||
++ lib.optional (args ? extraConfig) (
|
||||
lib.nixvim.modules.applyExtraConfig {
|
||||
lib.nixvim.plugins.utils.applyExtraConfig {
|
||||
inherit
|
||||
extraConfig
|
||||
cfg
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue