mirror of
https://github.com/nix-community/nixvim.git
synced 2026-09-26 01:00:44 -04:00
Update plugins/statuslines/lualine.nix
Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>
This commit is contained in:
committed by
Gaétan Lepage
co-authored by
Gaétan Lepage
parent
a24f6279a6
commit
7314f0d6e5
@@ -36,7 +36,23 @@ with lib; let
|
||||
Enables the display of icons alongside the component.
|
||||
'';
|
||||
|
||||
icon = helpers.mkNullOrOption (with types; either str (attrsOf anything)) ''
|
||||
icon = helpers.mkNullOrOption
|
||||
(
|
||||
with types;
|
||||
either
|
||||
str
|
||||
(submodule {
|
||||
freeformType = attrsOf anything;
|
||||
|
||||
options = {
|
||||
icon = mkOption {
|
||||
type = str;
|
||||
description = "Icon character.";
|
||||
};
|
||||
};
|
||||
})
|
||||
)
|
||||
"Defines the icon to be displayed in front of the component.";
|
||||
Defines the icon to be displayed in front of the component.
|
||||
'';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user