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

Feature request: highlighting scope (parentheses or brackets) the cursor is inside of?

Open
#667 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

I'm not sure if this is out of scope for the plugin, but when the code scope the cursor is inside is fully invisible in the window, I'd like it to be highlighted.

Image

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

The issue names no file, test, or entry point. Begin by locating the code that renders the current context and determine how the cursor's enclosing parentheses or brackets could be identified when their scope is outside the visible window. Done means the enclosing scope is visibly highlighted without disrupting existing context behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
vim
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.