From 28bbe89fbc92ff6a1b6c180d9812ee6ddf706207 Mon Sep 17 00:00:00 2001 From: LilleAila Date: Mon, 20 Jan 2025 14:16:45 +0100 Subject: [PATCH 1/2] highlight: example without '' --- modules/neovim/init/highlight.nix | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/modules/neovim/init/highlight.nix b/modules/neovim/init/highlight.nix index 606f1c05..8c7eca82 100644 --- a/modules/neovim/init/highlight.nix +++ b/modules/neovim/init/highlight.nix @@ -98,13 +98,11 @@ in { }; }); default = {}; - example = '' - { - SignColumn = { - bg = "#282828"; - }; - } - ''; + example = { + SignColumn = { + bg = "#282828"; + }; + }; description = "Custom highlights to apply"; }; From f58f41629f82ea7c88a84333ba261369194fe7de Mon Sep 17 00:00:00 2001 From: LilleAila Date: Mon, 20 Jan 2025 14:28:36 +0100 Subject: [PATCH 2/2] highlight: :h reference in single quotes --- modules/neovim/init/highlight.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/neovim/init/highlight.nix b/modules/neovim/init/highlight.nix index 8c7eca82..7e992fd1 100644 --- a/modules/neovim/init/highlight.nix +++ b/modules/neovim/init/highlight.nix @@ -92,7 +92,7 @@ in { "NONE" ])); default = null; - description = "The cterm arguments to use. See :h highlight-args"; + description = "The cterm arguments to use. See ':h highlight-args'"; }; force = mkBoolOption "force update"; };