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

@ -12,15 +12,13 @@ with lib; let
ai = {
key = "gw";
mode = ["n" "x"];
action = "require('wtf').ai";
lua = true;
action.__raw = "require('wtf').ai";
};
search = {
key = "gW";
mode = "n";
action = "require('wtf').search";
lua = true;
action.__raw = "require('wtf').search";
};
};
in {