mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-12-17 17:31:18 +00:00
lazy: use similar API to nvf keymaps
This commit is contained in:
parent
17d3030c24
commit
64cc84f32b
2 changed files with 18 additions and 9 deletions
|
|
@ -18,12 +18,16 @@
|
|||
expr,
|
||||
nowait,
|
||||
ft,
|
||||
lhs,
|
||||
rhs,
|
||||
key,
|
||||
action,
|
||||
lua,
|
||||
mode,
|
||||
}: {
|
||||
"@1" = lhs;
|
||||
"@2" = rhs;
|
||||
"@1" = key;
|
||||
"@2" =
|
||||
if lua
|
||||
then mkLuaInline action
|
||||
else action;
|
||||
inherit desc noremap expr nowait ft mode;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue