# cshuaimin/ssr.nvim

Treesitter based structural search and replace plugin for Neovim.

Repository: https://github.com/cshuaimin/ssr.nvim
Canonical: https://ross.abutalabs.com/products/ssrnvim
Language: Lua
License: MIT
License Family: permissive
Topics: lua, neovim-plugin, nvim, nvim-treesitter, tree-sitter
Last push: 2026-04-06T05:44:40+00:00

## Health v2 (maintenance only)
Score: 66/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 76, release rhythm 35, longevity 100
- inputs: {"age_days": 1494, "days_push": 149, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1009, forks 12 (observed 2026-08-28T04:03:12.849154+00:00)

## What it is
A Neovim plugin providing structural search and replace at the AST level using Tree-sitter. Users write search patterns with wildcards like $name to match and rewrite code structures across a buffer.

## Use cases
- structural search and replace in neovim
- refactor repeated code patterns with wildcards
- ast-based find and replace
- rename function calls across a buffer
- treesitter based code pattern matching

## When to choose
- you want IDE-style structural search and replace inside Neovim
- you need AST-accurate pattern matching with wildcard capture and replacement
- you prefer a lightweight plugin over a full LSP-based refactoring setup

## When to avoid
- your LSP server already provides structural search and replace
- you need semantic understanding of code beyond syntax trees
- you need multi-file or project-wide search and replace

## Facets
- artifact type: plugin
- maturity: active
- function: search-engine, parser, developer-tools
- domain: developer-tools, text-editors, parsers
- platform: editor-plugin, cli
- tags: neovim, treesitter, structural-search-replace, refactoring, lua

## Member repositories
- cshuaimin/ssr.nvim (main) score 66

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:12.849154+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:12:02.093261+00:00, confidence not recorded.
  - readme: https://github.com/cshuaimin/ssr.nvim (fetched 2026-08-28T04:03:12.849154+00:00, sha 6b0a6076cc19)
- Data as of 2026-08-30T08:39:29.467469+00:00.
