* wrappers: fix missing variable

* bufferline: fix type error if indicator is null
This commit is contained in:
LightQuantum
2023-02-14 19:51:56 +00:00
committed by GitHub
parent b6e01b9100
commit 7ccb2b0608
2 changed files with 6 additions and 2 deletions
+5 -1
View File
@@ -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;
+1 -1
View File
@@ -1,4 +1,4 @@
{ lib, ... }:
{ lib, pkgs, ... }:
let
inherit (lib) mkEnableOption mkOption mkOptionType mkForce mkMerge mkIf types;