nvim-tree / nvim-tree/nvim-tree.lua
Separate active buffer highlight from vim.opt.cursorline
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 8.6k
- Forks
- 639
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 2
Description
Can this functionality be implemented utilising API?
I do not think so
Is your feature request related to a problem? Please describe.
If I have disabled vim.opt.cursorline then NvimTree wont highlight active buffer.
Describe the solution you'd like
Custom highlight - not dependent on nvim, but it would only depends on NvimTree config
Describe alternatives you've considered
We can make hack with autocmd that enables cursorline for NvimTree, but is not 'fun'.
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 files or tests. Start by tracing NvimTree's active-buffer highlighting and its relationship to vim.opt.cursorline, then determine how a NvimTree-only highlight setting could be configured. Done means active-buffer highlighting works without requiring the user's global cursorline option.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua, vim
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100