mirror of
https://github.com/nix-community/nixvim.git
synced 2026-09-24 07:25:16 -05:00
utils: fix #129
* wrappers: fix missing variable * bufferline: fix type error if indicator is null
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user