From 121d375040b2ef8587a6e1b8dd6c32558a8ac1c2 Mon Sep 17 00:00:00 2001 From: Nowaaru Date: Mon, 4 Nov 2024 00:12:07 -0700 Subject: [PATCH] utility/precognition: fix hints option it broke --- .../plugins/utility/motion/precognition/precognition.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/plugins/utility/motion/precognition/precognition.nix b/modules/plugins/utility/motion/precognition/precognition.nix index 970f69b..40d1fb8 100644 --- a/modules/plugins/utility/motion/precognition/precognition.nix +++ b/modules/plugins/utility/motion/precognition/precognition.nix @@ -29,14 +29,16 @@ in { description = "The highlight for the virtual text."; }; - hints = { + hints = mkOption { + default = {}; + description = "What motions display and at what priority."; type = attrsOf (submodule { options = { text = mkOption { type = str; description = "The easier-to-read depiction of the motion."; }; - prio = { + prio = mkOption { type = int; description = "The priority of the hint."; example = 10;