neovim/basic: remove option list in `lineNumberMode` opt description

This commit is contained in:
NotAShelf 2024-04-14 15:09:13 +03:00
parent 219f048238
commit 011e6c0c8b
No known key found for this signature in database
GPG Key ID: 02D1DD3FA08B6B29
1 changed files with 3 additions and 10 deletions

View File

@ -3,7 +3,7 @@
lib,
...
}: let
inherit (lib.options) mkOption;
inherit (lib.options) mkOption literalExpression;
inherit (lib.strings) optionalString;
inherit (lib.types) enum bool str int nullOr;
inherit (lib.nvim.dag) entryAfter;
@ -82,15 +82,8 @@ in {
lineNumberMode = mkOption {
type = enum ["relative" "number" "relNumber" "none"];
default = "relNumber";
description = ''
How line numbers are displayed.
Available options are:
* none
* relative
* number
* relNumber
'';
example = literalExpression "none";
description = "How line numbers are displayed.";
};
preventJunkFiles = mkOption {