lib: change lz.n spec "inlineLua" types to str

This commit is contained in:
Ching Pei Yang 2024-08-03 18:05:33 +02:00 committed by Pei Yang Ching
parent c49f0c25c5
commit a0f4e6a942

View file

@ -138,14 +138,14 @@
# lz.n options
before = mkOption {
type = nullOr luaInline;
description = "Code to run before plugin is loaded";
type = nullOr str;
description = "Lua code to run before plugin is loaded. This will be wrapped in a function.";
default = null;
};
after = mkOption {
type = nullOr luaInline;
description = "Code to run after plugin is loaded";
type = nullOr str;
description = "Lua code to run after plugin is loaded. This will be wrapped in a function.";
default = null;
};