mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-06 07:14:31 +02:00
Update plugins/statuslines/lualine.nix
Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>
This commit is contained in:
parent
a24f6279a6
commit
7314f0d6e5
1 changed files with 17 additions and 1 deletions
|
@ -36,7 +36,23 @@ with lib; let
|
||||||
Enables the display of icons alongside the component.
|
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.
|
Defines the icon to be displayed in front of the component.
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue