mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-12-15 16:41: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
|
||||
then
|
||||
mkLuaInline ''
|
||||
funcion()
|
||||
function(name)
|
||||
${spec.load}
|
||||
end
|
||||
''
|
||||
|
|
|
|||
|
|
@ -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`.
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue