1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-27 20:51:05 +01:00
nixvim/tests/test-sources
Matt Sturgeon d0b0b75a13 modules/keymaps: fix lua option deprecation warning
The deprecation warning for the keymap-submocule `lua` option relied on
`getSubOptions`, however this is fundamentally flawed because that
function returns uses a different module eval from the one that merges
submodule definitions.

Since definitions are not used by `getSubOptions`,
`options.lua.isDefined` will never be true.

Instead, we have two choices:

1. Add a `luaIsDefined` option to the keymap submodule
2. Use the new v2 merge's `valueMeta` to access the actual module eval
2025-11-21 08:21:29 +00:00
..
colorschemes colorschemes/vague: init 2025-11-11 23:35:25 +00:00
example-configurations tests/issues: fix deprecation warning 2025-08-06 18:57:31 +00:00
modules modules/keymaps: fix lua option deprecation warning 2025-11-21 08:21:29 +00:00
plugins treewide: remove internal use of helpers module arg 2025-11-19 15:22:27 +00:00
env.nix modules: add env option 2025-03-24 18:50:29 +01:00
examples.nix treewide: Reformat with nixfmt 2024-05-05 22:00:40 +02:00
extended-lib.nix lib/evalNixvim: deprecate specialArgs.helpers 2025-11-19 15:22:27 +00:00