nvim-treesitter/nvim-treesitter-context
Show code context observed · 2026-08-28
Health v2 · maintenance only
66/100
- Activity 95
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2144
- days_rel: 461
- days_push: 31
- n_releases_24m: 1
Adoption not part of the score
3225 stars · 239 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A Neovim plugin that displays the enclosing code context (functions, classes, blocks) at the top of the window using Tree-sitter parsers. It is a lightweight alternative to context.vim supporting dozens of languages.
Use cases
- show current function context while scrolling in neovim
- sticky header showing class or function scope
- keep code context visible in long files
- treesitter-based context line in vim
- see which block I am inside while editing
When to choose
- you use Neovim >= 0.9 with Tree-sitter parsers installed
- you want a lightweight, actively maintained context display
- you work in deeply nested code and lose track of scope
When to avoid
- you use Vim or Neovim older than 0.9 without the compat tag
- your language's parser is unsupported or community-maintained and unstable
- you prefer full-file minimaps or other navigation aids
Facets
plugin · maturity active
editor developer-tools text-editors developer-tools editor-plugin cli neovim treesitter code-context floating-window vim-plugin
1 source
- readme: https://github.com/nvim-treesitter/nvim-treesitter-context · fetched 2026-08-28 · 4db86eb3eeab
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| nvim-treesitter/nvim-treesitter-context | main | 66 |
For agents
markdown · JSON · MCP: product_card(name="nvim-treesitter/nvim-treesitter-context")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem