From a9682e28ec9b5cb62a170b62f9ca03ff42cd40e0 Mon Sep 17 00:00:00 2001 From: jrichardsen Date: Fri, 17 May 2024 12:25:01 +0200 Subject: [PATCH] Allow statuscol segment text to be null Signed-off-by: jrichardsen --- plugins/ui/statuscol.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/ui/statuscol.nix b/plugins/ui/statuscol.nix index c6abea6e..fe536408 100644 --- a/plugins/ui/statuscol.nix +++ b/plugins/ui/statuscol.nix @@ -43,7 +43,8 @@ helpers.neovim-plugin.mkNeovimPlugin config { freeformType = with types; attrsOf anything; options = { text = mkOption { - type = with helpers.nixvimTypes; listOf (either str rawLua); + type = with helpers.nixvimTypes; nullOr (listOf (either str rawLua)); + default = null; description = "Segment text."; example = [ "%C" ]; };