@trim21/personal-pi-extensions 0.1.20261104043713 → 0.1.20261104213731
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/lib/lsp/client.ts +1 -0
package/package.json
CHANGED
package/src/lib/lsp/client.ts
CHANGED
|
@@ -679,6 +679,7 @@ export async function create(input: CreateInput): Promise<LspClient> {
|
|
|
679
679
|
|
|
680
680
|
const initialized = await withTimeout(
|
|
681
681
|
connection.sendRequest(InitializeRequest.type, {
|
|
682
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated -- InitializeParams.rootUri 仍是必填字段,本客户端也未声明 workspace.workspaceFolders 能力,只认它的服务器还需靠它定位 root
|
|
682
683
|
rootUri: pathToFileURL(input.root).href,
|
|
683
684
|
processId: process.pid,
|
|
684
685
|
workspaceFolders: [{ name: "workspace", uri: pathToFileURL(input.root).href }],
|