bufferline: fixed default (#152)

* bufferline: fixed default

* bufferline: fixed default for highlights
This commit is contained in:
Alexander Nortung 2023-02-14 20:49:19 +01:00 committed by GitHub
parent 9cca0b1fc9
commit e5ef91be0b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,7 +20,7 @@ let
}; };
}; };
})); }));
default = null; default = { };
}; };
in in
{ {
@ -163,7 +163,7 @@ in
default = null; default = null;
}; };
indicator = mkOption { indicator = mkOption {
default = null; default = { };
type = types.nullOr (types.submodule ({ ... }: { type = types.nullOr (types.submodule ({ ... }: {
options = { options = {
icon = mkOption { icon = mkOption {
@ -178,7 +178,7 @@ in
})); }));
}; };
highlights = mkOption { highlights = mkOption {
default = null; default = { };
type = types.nullOr (types.submodule ({ ... }: { type = types.nullOr (types.submodule ({ ... }: {
options = { options = {
fill = highlight; fill = highlight;