nvim-tree / nvim-tree.lua

A file explorer tree for neovim written in lua

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error whenever folder contains `.git` subfolder & can not access the folder.

Firwanaa opened this issue · comments

I get this error whenever I try to access a folder contains .git subfolder, and I can not access this folder.

image
My configurations pretty simple:

vim.g.nvim_tree_width = 25
-- vim.g.nvim_tree_gitignore = 1
vim.g.nvim_tree_git_hl = 1 
vim.g.nvim_tree_indent_markers = 1 
require'nvim-tree'.setup {
open_on_setup = true,
auto_open = 1,
auto_close = 1,
git = {
    enable = true,
    ignore = true,
    timeout = 500,
  },
update_to_buf_dir   = {
 enable = true,
 auto_open = true,
  },
}

-- vim.cmd[[
-- nnoremap <C-n> :NvimTreeToggle<CR>
-- ]]
commented

I also had this issue on macOS with Neovim v0.5, but since upgrading to the newest stable version of Neovim (v0.6.0), I no longer experience this issue.
Screenshot 2021-12-01 at 20 58 57

I also had this issue on macOS with Neovim v0.5, but since upgrading to the newest stable version of Neovim (v0.6.0), I no longer experience this issue. Screenshot 2021-12-01 at 20 58 57

image
I'm on NVIM v0.6.0 as well

same issue on macOS with Neovim v0.6.0 :/

commented

I assumed the last commit fixes this issue, can you still reproduce ?

I assumed the last commit fixes this issue, can you still reproduce ?

On Arch Linux, removed it and added it again, works fine now. Thanks a lot