You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From reading the code, I think this line has the issue, that, if a plugin specifies a build.lua file, it gets sourced into the current neovim lua runtime, thereby sharing its CWD.
The build file typically wants a CWD equal to plugin dir.
That is already the case if the build property is a script or a function (via the plugin spec parameter).
Furthermore, if the build is a lua file or a function, it does not seem to run async.
lazy.nvim/lua/lazy/manage/task/plugin.lua
Line 50 in 83493db
From reading the code, I think this line has the issue, that, if a plugin specifies a
build.lua
file, it gets sourced into the current neovim lua runtime, thereby sharing its CWD.The build file typically wants a CWD equal to
plugin
dir.That is already the case if the
build
property is a script or a function (via the plugin spec parameter).Furthermore, if the
build
is a lua file or a function, it does not seem to run async.lazy.nvim/lua/lazy/manage/task/plugin.lua
Line 62 in 83493db
If this is correct, what would I need to change to run
build.lua
inplugin.dir
and make it and the function variant async?nvim --headless -c
?The text was updated successfully, but these errors were encountered: