# sbdchd/neoformat

:sparkles: A (Neo)vim plugin for formatting code.

Repository: https://github.com/sbdchd/neoformat
Canonical: https://ross.abutalabs.com/products/neoformat
Language: Vim Script
License: BSD-2-Clause
License Family: permissive
Topics: vim, neovim, formatter, plugin
Last push: 2026-04-13T16:45:43+00:00

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

## Adoption (not part of the score)
Stars 2047, forks 180 (observed 2026-08-28T04:06:08.913856+00:00)

## What it is
Neoformat is a Vim/Neovim plugin that formats code buffers using a variety of external formatters per filetype. It reads from the current buffer without requiring a file save and falls back to the next configured formatter on failure.

## Use cases
- format code in vim without saving the file first
- run prettier or black on the current buffer in neovim
- auto-format code on save in vim
- format a visual selection of code in a different filetype
- define custom formatters for a filetype in vim

## When to choose
- you use Vim or Neovim and want buffer-aware code formatting
- you want formatter fallback chains per filetype
- you need to preserve marks, jumps, and undo history when formatting

## When to avoid
- you use a different editor like VS Code or Emacs
- you want an LSP-based formatting solution built into Neovim's native client

## Facets
- artifact type: plugin
- maturity: active
- function: formatter, developer-tools
- domain: developer-tools, text-editors
- platform: editor-plugin, cli
- tags: vim, neovim, code-formatting, vim-script

## Member repositories
- sbdchd/neoformat (main) score 57

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:08.913856+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:57:58.801269+00:00, confidence not recorded.
  - readme: https://github.com/sbdchd/neoformat (fetched 2026-08-28T04:06:08.913856+00:00, sha f3dc09222a71)
- Data as of 2026-08-30T08:39:29.467469+00:00.
