[PR #795] [MERGED] LSP: fix SimpleRoots to actually search in the root directory #9718

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

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opencode/pull/795
Author: @jedisct1
Created: 7/9/2025
Status: Merged
Merged: 7/9/2025
Merged by: @adamdotdevin

Base: devHead: fix-simpleroots


📝 Commits (2)

  • d49b953 LSP: fix SimpleRoots to actually search in the root directory
  • 60341c8 tool/ls: ignore .zig-cache and zig-out

📊 Changes

2 files changed (+108 additions, -2 deletions)

View changed files

📝 packages/opencode/src/lsp/server.ts (+106 -2)
📝 packages/opencode/src/tool/ls.ts (+2 -0)

📄 Description

...not just in subfolders.

Most projects have build files such as go.mod in the root directory, not in subdirectories.

Also restore support for the Zig language server and ignore zig build directories.


🔄 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/795 **Author:** [@jedisct1](https://github.com/jedisct1) **Created:** 7/9/2025 **Status:** ✅ Merged **Merged:** 7/9/2025 **Merged by:** [@adamdotdevin](https://github.com/adamdotdevin) **Base:** `dev` ← **Head:** `fix-simpleroots` --- ### 📝 Commits (2) - [`d49b953`](https://github.com/anomalyco/opencode/commit/d49b953732de359bc182d6b03e560748a86eb4ef) LSP: fix SimpleRoots to actually search in the root directory - [`60341c8`](https://github.com/anomalyco/opencode/commit/60341c8ded0e9b9ca17551a4d148205cd5e98b2d) tool/ls: ignore .zig-cache and zig-out ### 📊 Changes **2 files changed** (+108 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `packages/opencode/src/lsp/server.ts` (+106 -2) 📝 `packages/opencode/src/tool/ls.ts` (+2 -0) </details> ### 📄 Description ...not just in subfolders. Most projects have build files such as go.mod in the root directory, not in subdirectories. Also restore support for the Zig language server and ignore zig build directories. --- <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:02 -05:00
yindo closed this issue 2026-02-16 18:14:03 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9718