mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-09 16:54:36 +02:00
utils: fix #129
* wrappers: fix missing variable * bufferline: fix type error if indicator is null
This commit is contained in:
parent
b6e01b9100
commit
7ccb2b0608
2 changed files with 6 additions and 2 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;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ lib, ... }:
|
||||
{ lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
inherit (lib) mkEnableOption mkOption mkOptionType mkForce mkMerge mkIf types;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue