1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-30 22:21:04 +01:00

treewide: remove internal use of helpers module arg

This commit is contained in:
Matt Sturgeon 2025-11-19 11:39:41 +00:00
parent 7add68e918
commit dad19c1238
68 changed files with 687 additions and 758 deletions

View file

@ -1,6 +1,5 @@
{
lib,
helpers,
...
}:
with lib;
@ -13,16 +12,16 @@ lib.nixvim.plugins.mkNeovimPlugin {
maintainers = [ maintainers.GaetanLepage ];
settingsOptions = {
timeout = helpers.defaultNullOpts.mkStrLuaOr types.ints.unsigned "vim.o.timeoutlen" ''
timeout = lib.nixvim.defaultNullOpts.mkStrLuaOr types.ints.unsigned "vim.o.timeoutlen" ''
The time in which the keys must be hit in ms.
Uses the value of `vim.o.timeoutlen` (`options.timeoutlen` in nixvim) by default.
'';
default_mappings = helpers.defaultNullOpts.mkBool true ''
default_mappings = lib.nixvim.defaultNullOpts.mkBool true ''
Whether to enable default key mappings.
'';
mappings = helpers.defaultNullOpts.mkAttrsOf' {
mappings = lib.nixvim.defaultNullOpts.mkAttrsOf' {
type = types.anything;
pluginDefault = {
i.j = {