mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-02 05:14:30 +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
|
@ -57,8 +57,7 @@ in {
|
|||
motion: key: {
|
||||
mode = ["n" "o" "x"];
|
||||
inherit key;
|
||||
action = "function() require('spider').motion('${motion}') end";
|
||||
lua = true;
|
||||
action.__raw = "function() require('spider').motion('${motion}') end";
|
||||
options = {
|
||||
inherit (cfg.keymaps) silent;
|
||||
desc = "Spider-${motion}";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue