mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-11-09 14:45:58 +01:00
neovim/basic: remove option list in lineNumberMode
opt description
This commit is contained in:
parent
219f048238
commit
011e6c0c8b
1 changed files with 3 additions and 10 deletions
|
@ -3,7 +3,7 @@
|
||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (lib.options) mkOption;
|
inherit (lib.options) mkOption literalExpression;
|
||||||
inherit (lib.strings) optionalString;
|
inherit (lib.strings) optionalString;
|
||||||
inherit (lib.types) enum bool str int nullOr;
|
inherit (lib.types) enum bool str int nullOr;
|
||||||
inherit (lib.nvim.dag) entryAfter;
|
inherit (lib.nvim.dag) entryAfter;
|
||||||
|
@ -82,15 +82,8 @@ in {
|
||||||
lineNumberMode = mkOption {
|
lineNumberMode = mkOption {
|
||||||
type = enum ["relative" "number" "relNumber" "none"];
|
type = enum ["relative" "number" "relNumber" "none"];
|
||||||
default = "relNumber";
|
default = "relNumber";
|
||||||
description = ''
|
example = literalExpression "none";
|
||||||
How line numbers are displayed.
|
description = "How line numbers are displayed.";
|
||||||
|
|
||||||
Available options are:
|
|
||||||
* none
|
|
||||||
* relative
|
|
||||||
* number
|
|
||||||
* relNumber
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
|
|
||||||
preventJunkFiles = mkOption {
|
preventJunkFiles = mkOption {
|
||||||
|
|
Loading…
Reference in a new issue