nvim-tree / nvim-tree/nvim-tree.lua

root folder `/` not visible

Open
#3,212 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug reproduced
Dominant language
Lua
Stars
8.6k
Forks
639
Avg merge
1d 14h
Merged PRs (30d)
2

Description

Why is the root folder hidden when in root /? Is there any way to make it show up?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the behavior in nvim-tree.lua while the current directory is the root folder /. Trace the file-explorer entry point that determines whether the root folder is displayed, then confirm the expected behavior and add or update coverage if the relevant test location can be identified. Done means the root folder behavior is explicitly resolved.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.