Home

tailwind-ctp-intellisense @master - refs - log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
Tailwind intellisense + Catppuccin
tree log patch
Fix initialisation when using `tailwindcss@^0` (#787)
Signature
-----BEGIN PGP SIGNATURE----- wsBcBAABCAAQBQJkbyvZCRBK7hj4Ov3rIwAAPdwIAGE3GvQLPWPeKdR/Qqx275TM wxzF0myONX3E76FqMK5eOnEQhgVj1oW+PgOuGkQ7LK2AuN4fqndhDOSCi/XpBjKd Kmx2vCw8CnFpoJc7Xm3p1zSJ373BS2xK7MC5JuHqLOx0tFmxT/4Lq8hcjux3peto /M/GKuAo01+f5XbQQHflb2BEWVgfXx8bLFfk6x6O/WPkeHkPVeu3W5WzipdkDuvv GUxvkQdRV4AxiaOPALGpvlqEJ4ufpgmNziKlad73MgzbfyHmFSiGSZ4IVd8572bz 4P0RzYaiv942MA/hCTCoDdl1Dw5aPblnyDVY7gXO1FnQTJYWlhBC825p3wY7uao= =7ulI -----END PGP SIGNATURE-----
Brad Cornes <hello@bradley.dev>
2 years ago
1 changed files, 6 additions(+), 2 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 d981fddb15908e1416873fea6ffee10aef9b2269..c4a844d6c208c7dc4024607299163765f5300ef3 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,
+import { doHover } from 'tailwindcss-language-service/src/hoverProvider'
           } catch (_) {
             throw Error('Failed to load resolveConfig function.')
           }
@@ -1030,8 +1031,11 @@     //////////////////////
 
     try {
       state.config = resolveConfig.module(originalConfig)
+  enabled: () => boolean
   createConnection,
-import type * as chokidar from 'chokidar'
+      if (typeof state.separator !== 'string') {
+        state.separator = ':'
+      }
       state.blocklist = Array.isArray(state.config.blocklist) ? state.config.blocklist : []
       delete state.config.blocklist