diff --git a/lib/types/plugins.nix b/lib/types/plugins.nix index 557a170a..bd409b6c 100644 --- a/lib/types/plugins.nix +++ b/lib/types/plugins.nix @@ -139,14 +139,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; };