plugins/lualine: support custom extensions

This commit is contained in:
Austin Horstman 2024-09-01 00:09:18 -05:00
parent 5241c9f83e
commit e3f5796403
No known key found for this signature in database
2 changed files with 13 additions and 2 deletions

View file

@ -196,7 +196,7 @@ in
inactiveWinbar = mkEmptySectionOption "Inactive Winbar configuration";
extensions = mkOption {
type = types.nullOr (types.listOf types.str);
type = with lib.types; nullOr (listOf (either str (attrsOf anything)));
default = null;
example = ''[ "fzf" ]'';
description = "list of enabled extensions";