mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-12-16 09:01:03 +00:00
lazy: pass plugin name to custom load function
This commit is contained in:
parent
cf906180ae
commit
4b2701d6c2
2 changed files with 2 additions and 2 deletions
|
|
@ -88,7 +88,7 @@
|
||||||
if spec.load != null
|
if spec.load != null
|
||||||
then
|
then
|
||||||
mkLuaInline ''
|
mkLuaInline ''
|
||||||
funcion()
|
function(name)
|
||||||
${spec.load}
|
${spec.load}
|
||||||
end
|
end
|
||||||
''
|
''
|
||||||
|
|
|
||||||
|
|
@ -173,7 +173,7 @@
|
||||||
description = ''
|
description = ''
|
||||||
Lua code to override the `vim.g.lz_n.load()` function for a single plugin.
|
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`.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue