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 8656dfcfa6
commit f61aabf7e9

View file

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