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

@ -61,8 +61,7 @@ with lib; {
{
mode = "n";
key = copy;
action = "require('osc52').copy_operator";
lua = true;
action.__raw = "require('osc52').copy_operator";
options = {
expr = true;
inherit silent;
@ -80,8 +79,7 @@ with lib; {
{
mode = "v";
key = copyVisual;
action = "require('osc52').copy_visual";
lua = true;
action.__raw = "require('osc52').copy_visual";
options.silent = silent;
}
];