# windwp/nvim-autopairs

autopairs for neovim written in lua

Repository: https://github.com/windwp/nvim-autopairs
Canonical: https://ross.abutalabs.com/products/nvim-autopairs
Language: Lua
License: MIT
License Family: permissive
Topics: neovim, nvim, lua, autopairs, vim
Last push: 2026-08-23T03:00:47+00:00

## Health v2 (maintenance only)
Score: 70/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 17, longevity 100
- inputs: {"age_days": 2062, "days_push": 10, "days_rel": 341, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4082, forks 140 (observed 2026-08-28T04:08:34.447498+00:00)

## What it is
A Neovim plugin written in Lua that automatically inserts matching pairs of characters like brackets, quotes, and parentheses while typing. It supports advanced behaviors such as expanding pairs on Enter, deleting pairs with backspace, and auto-inserting parentheses after completion selections.

## Use cases
- auto-close brackets and quotes in neovim
- autopairs plugin for nvim written in lua
- insert matching parentheses automatically while coding
- expand bracket pairs when pressing enter in neovim
- auto-insert parentheses after selecting a completion item
- delete matching bracket pairs with backspace in neovim

## When to choose
- you use Neovim 0.7+ and want automatic pair insertion with extensive customization
- you want integration with nvim-cmp to add parentheses after function completions
- you need fine-grained control over which filetypes and modes autopairs apply to

## When to avoid
- you use plain Vim or an older Neovim version without Lua support
- you prefer minimal editing behavior without automatic character insertion
- you use a different editor like VS Code or Emacs

## Facets
- artifact type: plugin
- maturity: active
- function: editor, developer-tools
- domain: text-editors, developer-tools
- platform: lua, editor-plugin
- tags: autopairs, brackets, neovim-plugin, insert-mode, nvim-cmp-integration, neovim

## Member repositories
- windwp/nvim-autopairs (main) score 70

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:34.447498+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-29T18:23:25.506102+00:00, confidence not recorded.
  - readme: https://github.com/windwp/nvim-autopairs (fetched 2026-08-28T04:08:34.447498+00:00, sha e265d50a2f9e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
