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 290de58ae9
commit 14bc100a5e

View file

@ -138,14 +138,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;
}; };