[PR #1518] [CLOSED] add tofu-ls for terraform lsp support #9954

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

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opencode/pull/1518
Author: @adunne09
Created: 8/1/2025
Status: Closed

Base: devHead: add-terraform-language-server


📝 Commits (1)

  • 6659a8c add tofu-ls for terraform lsp support

📊 Changes

3 files changed (+120 additions, -2 deletions)

View changed files

📝 packages/opencode/src/lsp/client.ts (+12 -2)
📝 packages/opencode/src/lsp/language.ts (+5 -0)
📝 packages/opencode/src/lsp/server.ts (+103 -0)

📄 Description

Add Terraform Language Server

https://github.com/opentofu/tofu-ls

image

I believe the change to the notifications in client.ts isn't breaking, but I did not test every language server. example:

image

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/anomalyco/opencode/pull/1518 **Author:** [@adunne09](https://github.com/adunne09) **Created:** 8/1/2025 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `add-terraform-language-server` --- ### 📝 Commits (1) - [`6659a8c`](https://github.com/anomalyco/opencode/commit/6659a8c292bc552f7bf66a25476f019122cb4dd4) add tofu-ls for terraform lsp support ### 📊 Changes **3 files changed** (+120 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `packages/opencode/src/lsp/client.ts` (+12 -2) 📝 `packages/opencode/src/lsp/language.ts` (+5 -0) 📝 `packages/opencode/src/lsp/server.ts` (+103 -0) </details> ### 📄 Description # Add Terraform Language Server [https://github.com/opentofu/tofu-ls](https://github.com/opentofu/tofu-ls) <img width="822" height="635" alt="image" src="https://github.com/user-attachments/assets/d4eb0262-c86e-47dc-a3ff-71cfa92e1dbb" /> I believe the change to the notifications in client.ts isn't breaking, but I did not test every language server. example: <img width="1405" height="661" alt="image" src="https://github.com/user-attachments/assets/b635a36e-797a-4126-9fab-946fa55aef5c" /> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 18:14:27 -05:00
yindo closed this issue 2026-02-16 18:14:27 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9954