Description
I'm having the following behavior of opening files and it only shows an empty buffer.
video.mp4
I've tried using the defaults without any configuration but doesn't work, still the same behavior. I found that reverting to commit fd7f60e242205ea9efc9649101c81a07d5f458bb
fixes the issue for me, trying any other commit after that gives the bug showed in the video. So right now I have this in my config with packer to lock NvimTree at that commit.
use {
"kyazdani42/nvim-tree.lua",
commit = "fd7f60e242205ea9efc9649101c81a07d5f458bb",
wants = "nvim-web-devicons",
cmd = { "NvimTreeToggle", "NvimTreeFindFile" },
config = function()
require "plugins.tree"
end,
}
It seems like I'm not the only one, I was looking at LunarVim and they have the same, you can see here, but to be honest I don't know the reasons of why they locked NvimTree at that commit.
I tried to reproduce this with a minimal init.lua
and I couldn't, I really don't know what's going on, I really doubt it's my nvimtree configuration, it was all working a few days ago, and I also tried using just the defaults without requiring the file for nvimtree config but that didn't work either. I don't know what the commit after fd7f60e242205ea9efc9649101c81a07d5f458bb
did but it doesn't work for me.