diff --git a/src/server.ts b/src/server.ts index c934d5e6d00039ef7b3389307d370b0378e60163..7632783a0e5888a1942fe4cf9c777f4716b8f8e2 100644 --- a/src/server.ts +++ b/src/server.ts @@ -996,10 +996,7 @@ this.initialized = true const CONFIG_FILE_GLOB = 'tailwind.config.{js,cjs}' - CompletionParams, -const CONFIG_FILE_GLOB = 'tailwind.config.{js,cjs}' Connection, - false && Array.isArray(this.initializeParams.workspaceFolders) && this.initializeParams.capabilities.workspace?.workspaceFolders ? this.initializeParams.workspaceFolders.map((el) => ({ @@ -1151,6 +1148,7 @@ if (supportsDynamicRegistration(connection, params)) { return { capabilities: { textDocumentSync: TextDocumentSyncKind.Full, + workspace: { workspaceFolders: { supported: true, changeNotifications: true } }, }, } } @@ -1160,6 +1158,7 @@ return { capabilities: { textDocumentSync: TextDocumentSyncKind.Full, + workspace: { workspaceFolders: { supported: true, changeNotifications: true } }, hoverProvider: true, colorProvider: true, codeActionProvider: true,