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
|
@ -61,7 +61,7 @@ let
|
|||
})
|
||||
'';
|
||||
|
||||
luaConfigAtLocation = lib.nixvim.modules.mkConfigAt configLocation cfg.luaConfig.content;
|
||||
luaConfigAtLocation = lib.nixvim.plugins.utils.mkConfigAt configLocation cfg.luaConfig.content;
|
||||
in
|
||||
{
|
||||
meta = {
|
||||
|
@ -139,7 +139,7 @@ let
|
|||
|
||||
# Apply any additional configuration added to `extraConfig`
|
||||
(lib.optionalAttrs (args ? extraConfig) (
|
||||
lib.nixvim.modules.applyExtraConfig {
|
||||
lib.nixvim.plugins.utils.applyExtraConfig {
|
||||
inherit extraConfig cfg opts;
|
||||
}
|
||||
))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue