modules/ui: switch to explicit lib calls

This commit is contained in:
raf 2024-03-15 15:01:46 +03:00 committed by Ching Pei Yang
commit 5955d53077
9 changed files with 37 additions and 32 deletions

View file

@ -339,8 +339,8 @@ in {
package = mkOption {
type = str;
default = " ";
description = "Package icon";
default = " ";
description = "";
};
class = mkOption {
@ -351,8 +351,8 @@ in {
property = mkOption {
type = str;
default = " ";
description = "Property icon";
default = " ";
description = "";
};
field = mkOption {
@ -387,8 +387,8 @@ in {
variable = mkOption {
type = str;
default = "󰫧 ";
description = "Variable icon";
default = "󰆧 ";
description = "";
};
constant = mkOption {
@ -399,8 +399,8 @@ in {
string = mkOption {
type = str;
default = " ";
description = "String icon";
default = " ";
description = "";
};
number = mkOption {
@ -411,8 +411,8 @@ in {
boolean = mkOption {
type = str;
default = " ";
description = "Boolean icon";
default = " ";
description = "";
};
array = mkOption {

View file

@ -3,9 +3,9 @@
lib,
...
}: let
inherit (lib.modules) mkIf;
inherit (lib.strings) optionalString;
inherit (lib.trivial) boolToString;
inherit (lib.modules) mkIf;
inherit (lib.lists) optionals;
inherit (lib.nvim.lua) nullString;
inherit (lib.nvim.dag) entryAfter;