nvim-tree / nvim-tree/nvim-tree.lua
Multi Instance: Refactor: API Accept winid
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 8.6k
- Forks
- 639
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 2
Description
Many API families such as api.marks operate globally.
Add options to all API that are window specific to take a winid.
• {winid} (number) apply to the specified winid, otherwise first currently visible
This will be functional, however the fallback will be current behaviour.
A wrapper similar to node may be the solution.
2025-03-22: #3088 is required
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 reviewing the window-specific API families, including api.marks, and the wrapper approach suggested in the issue. Check the required dependency in #3088 before deciding how the APIs should accept winid. Done means all applicable window-specific APIs accept winid while preserving current behavior when it is omitted.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua, neovim
- Domain
- api
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100