mirror of
https://fastgit.cc/https://github.com/anomalyco/opencode
synced 2026-04-21 13:21:17 +08:00
fix: ensure gopls lsp id matches docs (#2344)
This commit is contained in:
@@ -193,7 +193,7 @@ export namespace LSPServer {
|
||||
}
|
||||
|
||||
export const Gopls: Info = {
|
||||
id: "golang",
|
||||
id: "gopls",
|
||||
root: async (file, app) => {
|
||||
const work = await NearestRoot(["go.work"])(file, app)
|
||||
if (work) return work
|
||||
|
||||
Reference in New Issue
Block a user