# rust-lang/rust.vim

Vim configuration for Rust.

Repository: https://github.com/rust-lang/rust.vim
Canonical: https://ross.abutalabs.com/products/rustvim
Language: Vim Script
License: Apache-2.0
License Family: permissive
Last push: 2024-06-02T21:15:07+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4234, "days_push": 822, "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 4182, forks 321 (observed 2026-08-28T04:08:38.422620+00:00)

## What it is
rust.vim is the official Vim plugin for Rust development, providing file detection, syntax highlighting, formatting via rustfmt, and integrations with Syntastic, Tagbar, and the Rust Playpen. It requires Vim 8 or higher for full functionality.

## Use cases
- syntax highlighting for Rust files in Vim
- format Rust code with rustfmt on save
- run the test under the cursor in a Cargo project
- send code snippets to the Rust Playpen
- integrate cargo error checking with Syntastic
- browse Rust source structure with Tagbar

## When to choose
- you edit Rust code in Vim or Neovim and want official tooling support
- you want automatic rustfmt formatting on save
- you want quick single-test execution inside Cargo projects

## When to avoid
- you use an IDE like RustRover or VS Code with rust-analyzer instead of Vim
- you need LSP features like completion and go-to-definition, which this plugin does not provide

## Facets
- artifact type: plugin
- maturity: stable
- function: editor, formatter, testing, documentation
- domain: developer-tools, text-editors, programming-languages
- platform: editor-plugin, cli, cross-platform
- tags: vim, rust, syntax-highlighting, rustfmt, syntastic, tagbar, cargo

## Member repositories
- rust-lang/rust.vim (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:38.422620+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:22:39.434578+00:00, confidence not recorded.
  - readme: https://github.com/rust-lang/rust.vim (fetched 2026-08-28T04:08:38.422620+00:00, sha c594d722aac1)
- Data as of 2026-08-30T08:39:29.467469+00:00.
