mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-11-08 06:55:58 +01:00
utility/precognition: fix priority example, add default
This commit is contained in:
parent
7b17023780
commit
3682edd22e
1 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
};
|
||||
};
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue