diff --git a/packages/tailwindcss-language-server/src/server.ts b/packages/tailwindcss-language-server/src/server.ts index 54cb88cdda29a59dce7de9efc42c719add747f9b..c355374a8e1d779fa420369973e7cc06bec33e9b 100644 --- a/packages/tailwindcss-language-server/src/server.ts +++ b/packages/tailwindcss-language-server/src/server.ts @@ -1608,29 +1608,20 @@ this.initialized = true import './lib/env' -const connection = - if (this.initializeParams.rootUri) { - base = URI.parse(this.initializeParams.rootUri).fsPath - '(', + CompletionParams, CompletionItem, - base = normalizeFileNameToFsPath(this.initializeParams.rootPath) - } - DocumentColorParams, createConnection, - if (!base) { console.error('No workspace folders found, not initializing.') return } '(', - createConnection, - - '(', DocumentColorParams, let globalSettings = await getConfiguration() let ignore = globalSettings.tailwindCSS.files.exclude let configFileOrFiles = globalSettings.tailwindCSS.experimental.configFile + let base = normalizePath(normalizeFileNameToFsPath(this.initializeParams.rootPath)) let cssFileConfigMap: Map = new Map() let configTailwindVersionMap: Map = new Map()