[PR #5243] feat: add terraform-ls language server and formatter #11304

Closed
opened 2026-02-16 18:16:07 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/5243

State: closed
Merged: Yes


Adds support for Terraform files (.tf, .tfvars) with:

  • LSP: terraform-ls with auto-download from GitHub releases
  • Formatter: terraform fmt integration
  • Language IDs: terraform, terraform-vars, hcl

Features enabled via initializationOptions:

  • prefillRequiredFields (auto-complete required fields)
  • validateOnSave (run terraform validate on save)
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/5243 **State:** closed **Merged:** Yes --- Adds support for Terraform files (.tf, .tfvars) with: - **LSP**: terraform-ls with auto-download from GitHub releases - **Formatter**: terraform fmt integration - **Language IDs**: terraform, terraform-vars, hcl Features enabled via initializationOptions: - prefillRequiredFields (auto-complete required fields) - validateOnSave (run terraform validate on save)
yindo added the pull-request label 2026-02-16 18:16:07 -05:00
yindo closed this issue 2026-02-16 18:16:07 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#11304