Skip to content

Commit 405f22f

Browse files
committed
fix separator (#343)
1 parent 14ec688 commit 405f22f

File tree

1 file changed

+2
-2
lines changed
  • packages/tailwindcss-language-server/src

1 file changed

+2
-2
lines changed

packages/tailwindcss-language-server/src/server.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,7 @@ async function createProjectService(
642642

643643
let separator = dlv(exports, sepLocation)
644644
if (typeof separator !== 'string') {
645-
separator = ''
645+
separator = ':'
646646
}
647647
dset(exports, sepLocation, `__TWSEP__${separator}__TWSEP__`)
648648
exports.purge = []
@@ -732,6 +732,7 @@ async function createProjectService(
732732
}
733733

734734
state.config = resolveConfig.module(originalConfig)
735+
state.separator = state.config.separator
735736

736737
if (state.jit) {
737738
state.jitContext = state.modules.jit.createContext.module(state)
@@ -772,7 +773,6 @@ async function createProjectService(
772773

773774
state.configId = getConfigId(state.configPath, state.dependencies)
774775

775-
state.separator = state.config.separator
776776
state.plugins = await getPlugins(originalConfig)
777777
state.classNames = (await extractClassNames(postcssResult.root)) as ClassNames
778778
state.variants = getVariants(state)

0 commit comments

Comments
 (0)