mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 16:39:00 +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));
|
processSections = mapAttrs (_: mapNullable (map processComponent));
|
||||||
setupOptions = {
|
setupOptions = {
|
||||||
options = {
|
options = {
|
||||||
inherit (cfg)
|
inherit (cfg) theme globalstatus refresh;
|
||||||
theme
|
|
||||||
globalstatus
|
|
||||||
refresh
|
|
||||||
extensions
|
|
||||||
;
|
|
||||||
icons_enabled = cfg.iconsEnabled;
|
icons_enabled = cfg.iconsEnabled;
|
||||||
section_separators = cfg.sectionSeparators;
|
section_separators = cfg.sectionSeparators;
|
||||||
component_separators = cfg.componentSeparators;
|
component_separators = cfg.componentSeparators;
|
||||||
|
@ -240,6 +235,7 @@ in
|
||||||
always_divide_middle = cfg.alwaysDivideMiddle;
|
always_divide_middle = cfg.alwaysDivideMiddle;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
inherit (cfg) extensions;
|
||||||
sections = processSections cfg.sections;
|
sections = processSections cfg.sections;
|
||||||
inactive_sections = processSections cfg.inactiveSections;
|
inactive_sections = processSections cfg.inactiveSections;
|
||||||
tabline = processSections cfg.tabline;
|
tabline = processSections cfg.tabline;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue