core: add description field to mappings

This is paving the way for which-key support!
This commit is contained in:
Pedro Alves 2022-01-10 19:50:13 +00:00
parent 8da3fa430c
commit 69cf1b6204

View file

@ -65,6 +65,12 @@ let
type = types.str;
description = "The action to execute.";
};
description = mkOption {
type = types.nullOr types.str;
description = "A textual description of this keybind, to be shown in which-key, if you have it.";
default = null;
};
};
}) ];