nvim-tree / nvim-tree/nvim-tree.lua
indent marker at level 0 when using `inline_arrows`
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 8.6k
- Forks
- 639
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 2
Description
Is this a question?
No
Can this functionality be implemented utilising API?
Don't think so
Is your feature request related to a problem? Please describe.
When using the option nvim-tree.renderer.indent_markers.inline_arrows, there is no indent marker at level 0:
This is a pretty jarring inconsistency.
When inline_arrows is on, I expect a column that contains arrows to be part of an indent marker.
Describe the solution you'd like
An option to render indent markers at level 0. Optionally, only if there are any folders present.
Describe alternatives you've considered
Have played around with the existing options in many configurations, none of them fit what I'd like.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the nvim-tree.renderer.indent_markers.inline_arrows option and the renderer entry point that handles indent markers. Check how level 0 is currently treated, then define completion as an additional level-0 marker column, optionally conditional on folders being present. Verify the behavior with inline_arrows enabled and representative trees.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100