mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 08:35:43 +02:00
Allow statuscol segment text to be null
Signed-off-by: jrichardsen <jonas.richardsen@gmail.com>
This commit is contained in:
parent
3766e36335
commit
a9682e28ec
1 changed files with 2 additions and 1 deletions
|
@ -43,7 +43,8 @@ helpers.neovim-plugin.mkNeovimPlugin config {
|
||||||
freeformType = with types; attrsOf anything;
|
freeformType = with types; attrsOf anything;
|
||||||
options = {
|
options = {
|
||||||
text = mkOption {
|
text = mkOption {
|
||||||
type = with helpers.nixvimTypes; listOf (either str rawLua);
|
type = with helpers.nixvimTypes; nullOr (listOf (either str rawLua));
|
||||||
|
default = null;
|
||||||
description = "Segment text.";
|
description = "Segment text.";
|
||||||
example = [ "%C" ];
|
example = [ "%C" ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue