folke/twilight.nvim
🌅 Twilight is a Lua plugin for Neovim 0.5 that dims inactive portions of the code you're editing using TreeSitter. observed · 2026-08-28
Health v2 · maintenance only
45/100
- Activity 49
- 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: 1878
- days_rel: n/a
- days_push: 309
- n_releases_24m: 0
Adoption not part of the score
1548 stars · 26 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Twilight is a Lua plugin for Neovim 0.5+ that dims inactive portions of the code you're editing using TreeSitter for accurate code-aware dimming. It pairs well with zen-mode.nvim for a distraction-free editing experience.
Use cases
- dim inactive code in neovim to focus on what I'm editing
- get a zen-mode-like focused coding experience in neovim
- highlight only the current function while dimming the rest of the file
- reduce visual clutter when reading or editing large files
- find a modern treesitter-based alternative to limelight.vim
When to choose
- you use Neovim 0.5+ and want code-aware dimming powered by TreeSitter
- you want automatic integration with zen-mode.nvim
- you need configurable context lines and expandable node types
When to avoid
- you use Vim or an editor other than Neovim
- you don't have TreeSitter parsers available for your filetypes
- you prefer full-file highlighting without dimming
Facets
plugin · maturity active
editor ui-components theme developer-tools text-editors cli cross-platform neovim-plugin treesitter focus-mode lua zen-mode neovim
1 source
- readme: https://github.com/folke/twilight.nvim · fetched 2026-08-28 · 2357e0c53841
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| folke/twilight.nvim | main | 45 |
For agents
markdown · JSON · MCP: product_card(name="folke/twilight.nvim")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem