diff --git a/plugins/statuslines/lightline.nix b/plugins/statuslines/lightline.nix index 4cb15794..8948bd36 100644 --- a/plugins/statuslines/lightline.nix +++ b/plugins/statuslines/lightline.nix @@ -72,6 +72,19 @@ in { }); }; + inactive = mkOption { + default = null; + type = types.nullOr (types.submodule { + options = let + listType = with helpers.nixvimTypes; maybeRaw (listOf (listOf str)); + in { + left = helpers.mkNullOrOption listType "List of components that will show up on the left side of the bar"; + + right = helpers.mkNullOrOption listType "List of components that will show up on the right side of the bar"; + }; + }); + }; + modeMap = mkOption { type = with types; nullOr (attrsOf str); description = "Mode name mappings"; @@ -82,7 +95,7 @@ in { config = let configAttrs = filterAttrs (_: v: v != null) { - inherit (cfg) colorscheme active component componentFunction modeMap; + inherit (cfg) colorscheme active inactive component componentFunction modeMap; }; in mkIf cfg.enable {