Skip to content

Commit 30f3a32

Browse files
committed
plugins/nvim-colorizer: add missing options
Adds the always_update, virtualtext_inline and virtualtext_mode options to nvim-colorizer.
1 parent 08be202 commit 30f3a32

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

plugins/by-name/nvim-colorizer/default.nix

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,26 @@ let
9797
type = types.nullOr types.str;
9898
default = null;
9999
};
100+
virtualtext_inline = mkOption {
101+
description = "Display virtualtext inline with color";
102+
type = types.nullOr types.bool;
103+
default = null;
104+
};
105+
virtualtext_mode = mkOption {
106+
description = "virtualtext highlighting mode";
107+
type = types.nullOr (
108+
types.enum [
109+
"foreground"
110+
"background"
111+
]
112+
);
113+
default = null;
114+
};
115+
always_update = mkOption {
116+
description = "update color values even if buffer is not focused";
117+
type = types.nullOr types.bool;
118+
default = null;
119+
};
100120
};
101121
in
102122
{

0 commit comments

Comments
 (0)