utility/precognition: fix hints option

it broke
This commit is contained in:
Nowaaru 2024-11-04 00:12:07 -07:00
parent fab51c4354
commit 121d375040
No known key found for this signature in database

View file

@ -29,14 +29,16 @@ in {
description = "The highlight for the virtual text."; description = "The highlight for the virtual text.";
}; };
hints = { hints = mkOption {
default = {};
description = "What motions display and at what priority.";
type = attrsOf (submodule { type = attrsOf (submodule {
options = { options = {
text = mkOption { text = mkOption {
type = str; type = str;
description = "The easier-to-read depiction of the motion."; description = "The easier-to-read depiction of the motion.";
}; };
prio = { prio = mkOption {
type = int; type = int;
description = "The priority of the hint."; description = "The priority of the hint.";
example = 10; example = 10;