From 3682edd22e8358db7bd0a324bf129520384adac4 Mon Sep 17 00:00:00 2001 From: Nowaaru Date: Sun, 3 Nov 2024 17:36:39 -0700 Subject: [PATCH] utility/precognition: fix priority example, add default --- .../plugins/utility/motion/precognition/precognition.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/plugins/utility/motion/precognition/precognition.nix b/modules/plugins/utility/motion/precognition/precognition.nix index de9bd63..28d8670 100644 --- a/modules/plugins/utility/motion/precognition/precognition.nix +++ b/modules/plugins/utility/motion/precognition/precognition.nix @@ -3,7 +3,6 @@ let inherit (lib.options) mkEnableOption mkOption literalExpression; inherit (lib.types) attrsOf listOf str bool int submodule; - in { options.vim.utility.motion.precognition = rec { @@ -29,7 +28,7 @@ in # or { foreground = "#0000FF", background = "#000000" }; ''; - default = { link = "Comment"; }; + default = { link = "Comment"; }; description = "The highlight for the virtual text."; }; @@ -41,9 +40,10 @@ in description = "The easier-to-read depiction of the motion."; }; prio = { - type = str; + type = int; description = "The priority of the hint."; - example = str; + example = 10; + default = 1; }; }; });