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:
Matt Sturgeon 2024-12-18 22:12:51 +00:00
parent ec97297fd5
commit 896f6be694
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299
8 changed files with 45 additions and 38 deletions

View file

@ -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