Exclude `*` from class completions
parent
80336ae320
commit
f5006a8ff2
|
@ -876,9 +876,12 @@ async function createProjectService(
|
||||||
state.jitContext = state.modules.jit.createContext.module(state)
|
state.jitContext = state.modules.jit.createContext.module(state)
|
||||||
state.jitContext.tailwindConfig.separator = state.config.separator
|
state.jitContext.tailwindConfig.separator = state.config.separator
|
||||||
if (state.jitContext.getClassList) {
|
if (state.jitContext.getClassList) {
|
||||||
state.classList = state.jitContext.getClassList().map((className) => {
|
state.classList = state.jitContext
|
||||||
return [className, { color: getColor(state, className) }]
|
.getClassList()
|
||||||
})
|
.filter((className) => className !== '*')
|
||||||
|
.map((className) => {
|
||||||
|
return [className, { color: getColor(state, className) }]
|
||||||
|
})
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
delete state.jitContext
|
delete state.jitContext
|
||||||
|
|
Loading…
Reference in New Issue