mirror of
https://github.com/nix-community/nixvim.git
synced 2025-11-27 12:41:03 +01:00
treewide: remove internal use of helpers module arg
This commit is contained in:
parent
7add68e918
commit
dad19c1238
68 changed files with 687 additions and 758 deletions
|
|
@ -1,6 +1,5 @@
|
|||
{
|
||||
lib,
|
||||
helpers,
|
||||
...
|
||||
}:
|
||||
let
|
||||
|
|
@ -45,7 +44,7 @@ lib.nixvim.plugins.mkVimPlugin {
|
|||
|
||||
settingsOptions = {
|
||||
delimit_cells_by =
|
||||
helpers.defaultNullOpts.mkEnumFirstDefault
|
||||
lib.nixvim.defaultNullOpts.mkEnumFirstDefault
|
||||
[
|
||||
"marks"
|
||||
"tags"
|
||||
|
|
@ -54,7 +53,7 @@ lib.nixvim.plugins.mkVimPlugin {
|
|||
Specifies if cells are delimited by 'marks' or 'tags'.
|
||||
'';
|
||||
|
||||
tag = helpers.defaultNullOpts.mkStr "##" "Specifies the tag format.";
|
||||
tag = lib.nixvim.defaultNullOpts.mkStr "##" "Specifies the tag format.";
|
||||
};
|
||||
|
||||
extraOptions = {
|
||||
|
|
@ -65,7 +64,9 @@ lib.nixvim.plugins.mkVimPlugin {
|
|||
default = false;
|
||||
};
|
||||
}
|
||||
// (mapAttrs (name: value: helpers.mkNullOrOption types.str "Keymap for ${value.desc}.") mappings);
|
||||
// (mapAttrs (
|
||||
name: value: lib.nixvim.mkNullOrOption types.str "Keymap for ${value.desc}."
|
||||
) mappings);
|
||||
};
|
||||
|
||||
extraConfig = cfg: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue