# stevearc/conform.nvim

Lightweight yet powerful formatter plugin for Neovim

Repository: https://github.com/stevearc/conform.nvim
Canonical: https://ross.abutalabs.com/products/conformnvim
Language: Lua
License: MIT
License Family: permissive
Topics: neovim, neovim-plugin, nvim, nvim-plugin
Last push: 2026-08-11T14:29:14+00:00

## Health v2 (maintenance only)
Score: 70/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 97, release rhythm 32, longevity 78
- inputs: {"age_days": 1104, "days_push": 22, "days_rel": 377, "gap_med": 40, "n_releases_24m": 6}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5319, forks 306 (observed 2026-08-28T04:09:15.579452+00:00)

## What it is
conform.nvim is a lightweight yet powerful code formatter plugin for Neovim. It wraps external formatter binaries and LSP formatting into a simple API while preserving extmarks, folds, and cursor position via minimal diff application.

## Use cases
- format code on save in neovim
- run prettier or black from neovim
- format only a selected range in a buffer
- format code blocks inside markdown files
- fix LSP servers that replace the whole buffer when formatting
- replace null-ls formatting in my neovim setup

## When to choose
- you use Neovim 0.10+ and want fast, configurable code formatting
- you need minimal-diff formatting that preserves folds, extmarks, and cursor position
- you want range formatting even for formatters that don't natively support it

## When to avoid
- you don't use Neovim (e.g. you use VS Code or vanilla Vim)
- you need an all-in-one linting/Diagnostics/hover solution rather than just formatting

## Facets
- artifact type: plugin
- maturity: active
- function: formatter, developer-tools, editor
- domain: developer-tools, text-editors
- platform: editor-plugin, cross-platform
- tags: neovim, code-formatting, lua, lsp

## Member repositories
- stevearc/conform.nvim (main) score 70

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:15.579452+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-29T17:58:55.813593+00:00, confidence not recorded.
  - readme: https://github.com/stevearc/conform.nvim (fetched 2026-08-28T04:09:15.579452+00:00, sha 038ff6587d85)
- Data as of 2026-08-30T08:39:29.467469+00:00.
