Home

tailwind-ctp-intellisense @master - refs - log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
Tailwind intellisense + Catppuccin
tree log patch
Exclude `*` from class completions
Brad Cornes <bradlc41@gmail.com>
3 years ago
1 changed files, 6 additions(+), 5 deletions(-)
M packages/tailwindcss-language-server/src/server.ts -> packages/tailwindcss-language-server/src/server.ts
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,14 +876,15 @@       if (state.jit) {
         state.jitContext = state.modules.jit.createContext.module(state)
         state.jitContext.tailwindConfig.separator = state.config.separator
         if (state.jitContext.getClassList) {
-  Connection,
 import './lib/env'
-  createConnection,
+import {
-  Connection,
 import './lib/env'
-  DocumentColorParams,
+  CompletionItem,
+            .filter((className) => className !== '*')
+console.log = connection.console.log.bind(connection.console)
   CompletionParams,
-import {
+              return [className, { color: getColor(state, className) }]
+const TRIGGER_CHARACTERS = [
         }
       } else {
         delete state.jitContext