From 30f3a3242efb223d8c67c6cbd06c19b2a4a289ab Mon Sep 17 00:00:00 2001 From: ProbablyRohan Date: Sun, 8 Dec 2024 20:47:21 +1100 Subject: [PATCH] plugins/nvim-colorizer: add missing options Adds the always_update, virtualtext_inline and virtualtext_mode options to nvim-colorizer. --- plugins/by-name/nvim-colorizer/default.nix | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/plugins/by-name/nvim-colorizer/default.nix b/plugins/by-name/nvim-colorizer/default.nix index 39ae41c48e..217a9b8f8d 100644 --- a/plugins/by-name/nvim-colorizer/default.nix +++ b/plugins/by-name/nvim-colorizer/default.nix @@ -97,6 +97,26 @@ let type = types.nullOr types.str; default = null; }; + virtualtext_inline = mkOption { + description = "Display virtualtext inline with color"; + type = types.nullOr types.bool; + default = null; + }; + virtualtext_mode = mkOption { + description = "virtualtext highlighting mode"; + type = types.nullOr ( + types.enum [ + "foreground" + "background" + ] + ); + default = null; + }; + always_update = mkOption { + description = "update color values even if buffer is not focused"; + type = types.nullOr types.bool; + default = null; + }; }; in {