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
parent c6071b7da4
commit b437242689
1 changed files with 4 additions and 4 deletions

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