modules/keymaps: deprecate lua option

This commit is contained in:
Matt Sturgeon 2024-05-26 10:46:36 +01:00
parent beb86eec7c
commit 8212bf1cd2
2 changed files with 37 additions and 4 deletions

View file

@ -106,8 +106,12 @@ rec {
description = ''
If true, `action` is considered to be lua code.
Thus, it will not be wrapped in `""`.
This option is deprecated and will be removed in 24.11.
You should use a "raw" action instead, e.g. `action.__raw = ""`.
'';
default = defaults.lua or false;
visible = false;
};
options = mapConfigOptions;