utility/precognition: remove periods at the end of descriptions

This commit is contained in:
Nowaaru 2024-11-06 22:45:02 -07:00
parent c20bfdd6dc
commit f013656dab
No known key found for this signature in database

View file

@ -11,11 +11,11 @@
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 = mkOption { prio = mkOption {
type = int; type = int;
description = "The priority of the hint."; description = "The priority of the hint";
example = 10; example = 10;
default = 1; default = 1;
}; };
@ -29,13 +29,13 @@ in {
setupOpts = mkPluginSetupOption "precognition.nvim" { setupOpts = mkPluginSetupOption "precognition.nvim" {
startVisible = mkOption { startVisible = mkOption {
type = bool; type = bool;
description = "Whether to start 'precognition' automatically."; description = "Whether to start 'precognition' automatically";
default = true; default = true;
}; };
showBlankVirtLine = mkOption { showBlankVirtLine = mkOption {
type = bool; type = bool;
description = "Whether to show a blank virtual line when no movements are shown."; description = "Whether to show a blank virtual line when no movements are shown";
default = true; default = true;
}; };
@ -48,11 +48,11 @@ in {
{ foreground = "#0000FF"; background = "#000000"; }; { foreground = "#0000FF"; background = "#000000"; };
''; '';
description = '' description = ''
The highlight for the virtual text. The highlight for the virtual text
''; '';
}; };
hints = mkHintType "What motions display and at what priority."; hints = mkHintType "What motions display and at what priority";
gutterHints = mkHintType '' gutterHints = mkHintType ''
What motions display and at what priority. Only appears in gutters What motions display and at what priority. Only appears in gutters
@ -60,7 +60,8 @@ in {
disabled_fts = mkOption { disabled_fts = mkOption {
type = listOf str; type = listOf str;
description = "Filetypes that automatically disable 'precognition.'"; description = "Filetypes that automatically disable 'precognition'";
default = ["startify"]; default = ["startify"];
example = literalExpression ''["startify"]''; example = literalExpression ''["startify"]'';
}; };