nvim-treesitter / nvim-treesitter/nvim-treesitter-context

Add option to show end of context

Open
#197 1 comment 7 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Janet
Stars
3.2k
Forks
241
PR merge metrics
No merged PRs in 30d

Description

Hi,
first of all, thanks a lot for this awesome plugin!

I'm heavily using/relying on the relative numbers of the context and sometimes I'd find it really helpfull if I had the relative numbers to the contexts end, too. It would be awesome, if the plugin would have an option to enable showing the end of the current context.

Feel free to close this issue, if it means too much effort for little gain...

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 locating the plugin code that renders context lines, relative numbers, and existing options. Check how current context boundaries are determined and whether tests cover number display. Done means an opt-in setting shows relative numbers to the end of the current context without changing existing behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
neovim, vim
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.