mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
plugins/lualine: fix extensions option
This commit is contained in:
parent
56aaef010a
commit
9d858de2e9
1 changed files with 2 additions and 6 deletions
|
@ -226,12 +226,7 @@ in
|
|||
processSections = mapAttrs (_: mapNullable (map processComponent));
|
||||
setupOptions = {
|
||||
options = {
|
||||
inherit (cfg)
|
||||
theme
|
||||
globalstatus
|
||||
refresh
|
||||
extensions
|
||||
;
|
||||
inherit (cfg) theme globalstatus refresh;
|
||||
icons_enabled = cfg.iconsEnabled;
|
||||
section_separators = cfg.sectionSeparators;
|
||||
component_separators = cfg.componentSeparators;
|
||||
|
@ -240,6 +235,7 @@ in
|
|||
always_divide_middle = cfg.alwaysDivideMiddle;
|
||||
};
|
||||
|
||||
inherit (cfg) extensions;
|
||||
sections = processSections cfg.sections;
|
||||
inactive_sections = processSections cfg.inactiveSections;
|
||||
tabline = processSections cfg.tabline;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue