nvim-tree / nvim-tree/nvim-tree.lua
[feature request] highlight indent for current context
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 8.6k
- Forks
- 639
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 2
Description
I don't know how viable this would be, but If possible it could be handy:
The idea is to have the same functionality as in indent-blankline plugin for highlighting the current context:
this is done with treesitter of course, and it's far from perfect even when having various nodes specified in the config file (check the docs for this).
So I don't know how that could relate to this plugin but as I said, it could be a handy feature in my opinion. I think VSCode does exactly this:
(this isn't me using VSCode)
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
The issue names no repository files or tests. Start by reviewing the linked indent-blankline documentation and examples, then inspect nvim-tree.lua’s rendering and configuration entry points to determine whether tree-sitter-based current-context highlighting fits; define supported contexts and completion criteria before implementation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100