utility/precognition: fix priority example, add default

This commit is contained in:
Nowaaru 2024-11-03 17:36:39 -07:00
parent 7b17023780
commit 3682edd22e
No known key found for this signature in database

View file

@ -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 {
@ -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;
};
};
});