Home

tailwind-ctp-intellisense @master - refs - log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
Tailwind intellisense + Catppuccin
tree log patch
fix multi-root
Brad Cornes <bradlc41@gmail.com>
3 years ago
1 changed files, 2 additions(+), 2 deletions(-)
M src/server.ts -> src/server.ts
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,