# hashivim/vim-terraform

basic vim/terraform integration

Repository: https://github.com/hashivim/vim-terraform
Canonical: https://ross.abutalabs.com/products/vim-terraform
Homepage: http://hashivim.github.io/vim-terraform
Language: Vim Script
License: ISC
License Family: permissive
Topics: vim, vim-terraform, hashivim, hcl, indentation, terraform
Last push: 2025-05-24T19:17:27+00:00

## Health v2 (maintenance only)
Score: 43/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 23, release rhythm 35, longevity 100
- inputs: {"age_days": 4284, "days_push": 466, "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 1109, forks 110 (observed 2026-08-28T04:03:37.349466+00:00)

## What it is
A Vim plugin providing Terraform integration, including a :Terraform command with tab completion, syntax highlighting for HCL/Terraform files, and automatic indentation and formatting. It is maintained under the HashiVim organization and supports Terraform >= 1.0.0.

## Use cases
- edit terraform files in vim with syntax highlighting
- auto-indent hcl files in vim
- run terraform commands from vim
- format terraform files with terraform fmt inside vim
- highlight tfvars and tfstate files in vim

## When to choose
- you write Terraform/HCL in Vim and want highlighting, indentation, and fmt integration
- you want to run terraform subcommands without leaving the editor

## When to avoid
- you use Neovim with an LSP-based setup like terraform-ls and prefer language-server features
- you don't use Vim or Neovim

## Facets
- artifact type: plugin
- maturity: maintenance
- function: formatter, developer-tools, infrastructure-as-code
- domain: infrastructure-as-code, developer-tools, text-editors
- platform: editor-plugin, cli
- tags: vim, terraform, hcl, syntax-highlighting, indentation

## Member repositories
- hashivim/vim-terraform (main) score 43

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:37.349466+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-30T06:43:35.052929+00:00, confidence not recorded.
  - readme: https://github.com/hashivim/vim-terraform (fetched 2026-08-28T04:03:37.349466+00:00, sha 66b56e59d15f)
  - homepage: http://hashivim.github.io/vim-terraform (fetched 2026-08-29T12:47:05.268771+00:00, sha 57b92b242604)
- Data as of 2026-08-30T08:39:29.467469+00:00.
