Open sclatch1 opened 6 months ago
I also get this error often when I expand the file manager and when I execute nvim with a filename. Not always but often.
I was able to get this working by editing: lua/ide/components/explorer/filenode.lua
add:
local uv = require("luv")
with the rest of the requires at the top of the file
then remove "vim" from lines 107 and 111:
vim.uv.fs_opendir(self.path, function(err, dir)
if err then
return
end
vim.uv.fs_readdir(dir, function(err, entries)
to:
uv.fs_opendir(self.path, function(err, dir)
if err then
return
end
uv.fs_readdir(dir, function(err, entries)
I'm guessing it's some kind of version issue, I'm running 0.9.5
I do not run into these issues.
nvim --version
NVIM v0.10.0-dev+2324-g4948fa42e
Build type: RelWithDebInfo
LuaJIT 2.1.1692716794
Run "nvim -V1 -v" for more info
Can you try to update to v0.10 and see if the issue is still present?
Yep unmodified code working with v0.10.0
[
]