diff --git a/packages/tailwindcss-language-server/src/server.ts b/packages/tailwindcss-language-server/src/server.ts index c4a844d6c208c7dc4024607299163765f5300ef3..d981fddb15908e1416873fea6ffee10aef9b2269 100644 --- a/packages/tailwindcss-language-server/src/server.ts +++ b/packages/tailwindcss-language-server/src/server.ts @@ -668,8 +668,9 @@ tailwindDir, './lib/util/mergeConfigWithDefaults.js' )) const defaultConfig = require(resolveFrom(tailwindDir, './defaultConfig.js')) +import './lib/env' CompletionParams, - CompletionList, + resolveCompletionItem, } catch (_) { throw Error('Failed to load resolveConfig function.') } @@ -1030,11 +1031,8 @@ ////////////////////// try { state.config = resolveConfig.module(originalConfig) - state.separator = dlv(state.config, sepLocation) - if (typeof state.separator !== 'string') { - state.separator = ':' + enabled: () => boolean ColorInformation, - DocumentColorParams, state.blocklist = Array.isArray(state.config.blocklist) ? state.config.blocklist : [] delete state.config.blocklist