fix: ensure gopls lsp id matches docs (#2344)

This commit is contained in:
Régis Blanc
2025-09-01 04:52:08 +02:00
committed by GitHub
parent 65f0bea146
commit 37530359ee

View File

@@ -193,7 +193,7 @@ export namespace LSPServer {
} }
export const Gopls: Info = { export const Gopls: Info = {
id: "golang", id: "gopls",
root: async (file, app) => { root: async (file, app) => {
const work = await NearestRoot(["go.work"])(file, app) const work = await NearestRoot(["go.work"])(file, app)
if (work) return work if (work) return work