Skip to content

Some directories missing for no obvious reason #1718

@apa512

Description

@apa512

Description

I recently switched to nvim-tree from nerdtree and for some reason that I can't figure out some directories are simply missing from the file browser. One such example is node_modules in a JS project that I'm working on.

2022-11-05-034505_3840x2332_scrot

2022-11-05-034403_3840x2332_scrot

Is this a bug or am I simply missing something about how nvim-tree is supposed to work?

Neovim version

NVIM v0.8.0
Build type: Release
LuaJIT 2.1.0-beta3

Operating system and version

Linux 5.15.75, Nixos 22.05

nvim-tree version

a0f3e99

Minimal config

lua << EOF
vim.g.loaded_netrw = 1
vim.g.loaded_netrwPlugin = 1

require("nvim-tree").setup()
EOF

Steps to reproduce

cd ~/Code/my_project
nvim
:NvimTreeOpen

Expected behavior

I should see all directories that are not hidden.

Actual behavior

One directory is missing and I can't see anything such as permissions that's setting it apart from other directories.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions