Skip to content

Commit

Permalink
plugins/nvim-colorizer: add missing options
Browse files Browse the repository at this point in the history
Adds the always_update, virtualtext_inline and virtualtext_mode options
to nvim-colorizer.
  • Loading branch information
ProbablyRohan committed Dec 8, 2024
1 parent 08be202 commit 30f3a32
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions plugins/by-name/nvim-colorizer/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down

0 comments on commit 30f3a32

Please sign in to comment.