kyazdani42 / nvim-tree.lua

A file explorer tree for neovim written in lua

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

It sometimes doesn't show the files in a directory

ahhshm opened this issue · comments

Arch linux

Neovim version

NVIM v0.6.1
Build type: Release
LuaJIT 2.0.5
Compiled by builduser

Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/share/nvim"

Nvim-tree version
commit hash: 0a2f6b0

Describe the bug
Sometimes it treats a directory as empty while it's not. basically, it doesn't show its content.
In the below image you can see that the "pkg" directory is empty:
while it has the following content:

$  ls pkg
index_bg.js    index_bg.wasm.d.ts  index.js
index_bg.wasm  index.d.ts          package.json

Reloading the tree or neovim doesn't help. for some reason, I've seen this bug only in the "pkg" directory.

My bad. the pkg directory is in the gitignore and if I'm right this plugin supports gitignore by default. I didn't know that.

ezoic increase your site revenue