From 011e6c0c8bf5cb9946219680804abae1bb7127fa Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Sun, 14 Apr 2024 15:09:13 +0300 Subject: [PATCH] neovim/basic: remove option list in `lineNumberMode` opt description --- modules/neovim/basic/configrc.nix | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/modules/neovim/basic/configrc.nix b/modules/neovim/basic/configrc.nix index 90b04d5..8f7fed0 100644 --- a/modules/neovim/basic/configrc.nix +++ b/modules/neovim/basic/configrc.nix @@ -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 {