1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
diff --git a/src/server.ts b/src/server.ts
index 7632783a0e5888a1942fe4cf9c777f4716b8f8e2..c934d5e6d00039ef7b3389307d370b0378e60163 100644
--- a/src/server.ts
+++ b/src/server.ts
@@ -995,7 +995,9 @@ if (this.initialized) return
this.initialized = true
+ // TODO
const workspaceFolders =
+ false &&
Array.isArray(this.initializeParams.workspaceFolders) &&
this.initializeParams.capabilities.workspace?.workspaceFolders
? this.initializeParams.workspaceFolders.map((el) => ({
@@ -1147,7 +1149,6 @@ if (supportsDynamicRegistration(connection, params)) {
return {
capabilities: {
textDocumentSync: TextDocumentSyncKind.Full,
- workspace: { workspaceFolders: { supported: true, changeNotifications: true } },
},
}
}
@@ -1157,7 +1158,6 @@
return {
capabilities: {
textDocumentSync: TextDocumentSyncKind.Full,
- workspace: { workspaceFolders: { supported: true, changeNotifications: true } },
hoverProvider: true,
colorProvider: true,
codeActionProvider: true,
|