nvim-tree / nvim-tree.lua

A file explorer tree for neovim written in lua

Repository from Github https://github.comnvim-tree/nvim-tree.luaRepository from Github https://github.comnvim-tree/nvim-tree.lua

Folds when opening folders in neovim 0.12

ProfKache opened this issue · comments

Description

I have the latest neovim installed. When opening nvim-tree and trying to open the folders, It folds back meaning I can't view the files in the folders.

Neovim version

NVIM v0.12.0-dev-8+g750e1836af
Build type: RelWithDebInfo
LuaJIT 2.1.1741730670

Operating system and version

Linux pop-os 6.12.10-76061203-generic #202412060638174250466622.04~3d20e1a SMP PREEMPT_DYNAMIC Thu M x86_64 x86_64 x86_64 GNU/Linux

Windows variant

No response

nvim-tree version

44d9b58

Clean room replication

return {
	"nvim-tree/nvim-tree.lua",
	opts = {
		git = {
			ignore = false,
		},
		renderer = {
			indent_markers = {
				enable = true,
				inline_arrows = true,
				-- icons = {
				-- 	corner = "└",
				-- 	edge = "│",
				-- 	item = "│",
				-- 	bottom = "─",
				-- 	none = " ",
				-- },
			},
		},
	},
}

Steps to reproduce

  1. nvim
  2. :NvimTreeToggle
  3. Then click folder, it folds back

Expected behavior

The folder is suppose to unfold for me to see the file inside.

Actual behavior

No response

Please use code snippet for minimal reproducible configuration as per issue template.

nvim 0.11.0 has been released.

0.12 (nightly) is now 3 days ahead of 0.11.0 however it looks like a lot of features have been merged.

@ProfKache please test with 0.11.0

I have actually upgraded my terminal emulator, and the issue seems to have disappeared. I'm using Alacritty. I guess the issue was more of my terminal emulator, because I tested it in other emulators like Wezterm, it seems to be fine.

Thanks.