# windwp/nvim-ts-autotag

Use treesitter to auto close and auto rename html tag

Repository: https://github.com/windwp/nvim-ts-autotag
Canonical: https://ross.abutalabs.com/products/nvim-ts-autotag
Language: Lua
License: MIT
License Family: permissive
Topics: treesitter, autotag
Last push: 2026-04-15T08:02:58+00:00

## Health v2 (maintenance only)
Score: 67/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 77, release rhythm 35, longevity 100
- inputs: {"age_days": 2005, "days_push": 140, "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 2113, forks 109 (observed 2026-08-28T04:06:14.691617+00:00)

## What it is
A Neovim plugin that uses treesitter to automatically close and rename HTML-style tags across many filetypes like HTML, JSX, TSX, Vue, and Svelte. It requires treesitter parsers and supports per-filetype configuration and custom language aliases.

## Use cases
- auto close html tags in neovim
- automatically rename matching html tags when editing
- autoclose jsx and tsx tags in neovim
- close tags in vue and svelte files
- auto close tag when typing </ in neovim

## When to choose
- you edit HTML-like markup in Neovim and want automatic tag closing and renaming
- you already use nvim-treesitter and want accurate, syntax-aware tag handling
- you work across many filetypes like jsx, vue, svelte, and markdown

## When to avoid
- you don't use Neovim or treesitter parsers
- you prefer manual tag editing or an all-purpose snippet engine
- you use an editor other than Neovim

## Facets
- artifact type: plugin
- maturity: active
- function: editor, developer-tools
- domain: text-editors, web-development, developer-tools
- platform: editor-plugin, cli
- tags: neovim, treesitter, html, autoclose, autorename, lua

## Member repositories
- windwp/nvim-ts-autotag (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:14.691617+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-30T02:53:40.342452+00:00, confidence not recorded.
  - readme: https://github.com/windwp/nvim-ts-autotag (fetched 2026-08-28T04:06:14.691617+00:00, sha f8131a6097ce)
- Data as of 2026-08-30T08:39:29.467469+00:00.
