mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-07 11:25:06 +02:00
bufferline: fix type error if indicator is null
This commit is contained in:
parent
6478cc3d50
commit
c33a61a2f7
1 changed files with 5 additions and 1 deletions
|
@ -263,7 +263,11 @@ in
|
|||
middle_mouse_command = cfg.middleMouseCommand;
|
||||
# deprecated, but might still work
|
||||
indicator_icon = cfg.indicatorIcon;
|
||||
indicator = cfg.indicator;
|
||||
indicator =
|
||||
if cfg.indicator != null then with cfg.indicator; {
|
||||
icon = icon;
|
||||
style = style;
|
||||
} else null;
|
||||
buffer_close_icon = cfg.bufferCloseIcon;
|
||||
modified_icon = cfg.modifiedIcon;
|
||||
close_icon = cfg.closeIcon;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue