mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-16 04:04:34 +02:00
keymaps: use 'action.__raw' instead of 'lua = true' internally
This commit is contained in:
parent
26a7c7ec5c
commit
2294a12b0b
8 changed files with 11 additions and 21 deletions
|
@ -233,7 +233,7 @@ in {
|
|||
(key != null)
|
||||
{
|
||||
inherit key;
|
||||
action = luaFunc;
|
||||
action.__raw = luaFunc;
|
||||
}
|
||||
)
|
||||
{
|
||||
|
@ -256,7 +256,7 @@ in {
|
|||
mapAttrsToList
|
||||
(id: key: {
|
||||
inherit key;
|
||||
action = genLuaFunc id;
|
||||
action.__raw = genLuaFunc id;
|
||||
})
|
||||
mappingsAttrs
|
||||
)
|
||||
|
@ -283,7 +283,6 @@ in {
|
|||
helpers.keymaps.mkKeymaps
|
||||
{
|
||||
mode = "n";
|
||||
lua = true;
|
||||
options.silent = cfg.keymapsSilent;
|
||||
}
|
||||
allMappings;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue