tailwind-ctp-intellisense @master -
refs -
log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
diff --git a/packages/tailwindcss-language-server/src/server.ts b/packages/tailwindcss-language-server/src/server.ts
index fe63afca09a0f732ffc027f9b492581f186fa088..df54c9c04763e0cb90f2b9e4ec88e493838a316c 100644
--- a/packages/tailwindcss-language-server/src/server.ts
+++ b/packages/tailwindcss-language-server/src/server.ts
@@ -876,9 +876,12 @@ if (state.jit) {
state.jitContext = state.modules.jit.createContext.module(state)
state.jitContext.tailwindConfig.separator = state.config.separator
if (state.jitContext.getClassList) {
- state.classList = state.jitContext.getClassList().map((className) => {
- return [className, { color: getColor(state, className) }]
- })
+ state.classList = state.jitContext
+ .getClassList()
+ .filter((className) => className !== '*')
+ .map((className) => {
+ return [className, { color: getColor(state, className) }]
+ })
}
} else {
delete state.jitContext