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 ad5b928830
commit 8195ad5cc9

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;
};