keymaps: use 'action.__raw' instead of 'lua = true' internally

This commit is contained in:
Gaetan Lepage 2024-02-03 17:42:24 +01:00 committed by Gaétan Lepage
parent 26a7c7ec5c
commit 2294a12b0b
8 changed files with 11 additions and 21 deletions

View file

@ -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}";