diff --git a/modules/wrapper/lazy/config.nix b/modules/wrapper/lazy/config.nix index bf37e34a..6a9a6ea2 100644 --- a/modules/wrapper/lazy/config.nix +++ b/modules/wrapper/lazy/config.nix @@ -88,7 +88,7 @@ if spec.load != null then mkLuaInline '' - funcion() + function(name) ${spec.load} end '' diff --git a/modules/wrapper/lazy/lazy.nix b/modules/wrapper/lazy/lazy.nix index 7826233e..4bdfb73f 100644 --- a/modules/wrapper/lazy/lazy.nix +++ b/modules/wrapper/lazy/lazy.nix @@ -173,7 +173,7 @@ description = '' Lua code to override the `vim.g.lz_n.load()` function for a single plugin. - This will be wrapped in a function. + This will be wrapped in a `function(name) ... end`. ''; }; };