Home

tailwind-ctp-intellisense @master - refs - log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
Tailwind intellisense + Catppuccin
tree log patch
Fix `configFile` path resolution (#617)
Signature
-----BEGIN PGP SIGNATURE----- wsBcBAABCAAQBQJjNviICRBK7hj4Ov3rIwAAbnoIAJGxSi2RzFl/RwukvWfOj6tl UYGpD9hbHh7Td4PFiNg5dV2pCDuu143EIvouA92s4p+hHh+5IryZFg8jfsKWtOhi v4Koc7IcbgHYgTPlQtHDNX976kKxWkIAIb2j9e+8EdsFwFammdjVtAej0jL7XeB9 DFnC9p95/t/fSSH54cqMl0mhIcbRXZm+7TCbZ0JKFg2AMm7TQdZl43Im/5N1+FFV 5nsR5yrB1U/f1K036LC7G53ApEtY+sgS+prsgdVEBFZqBSf/mBhuXCdXzItzC+ih RITWmVF/gN8X02Y8qsAFzfCXAht4Oa8sPPpHfOBGk5Ye97YcdeL21GlzscawSkk= =W2ez -----END PGP SIGNATURE-----
Brad Cornes <hello@bradley.dev>
2 years ago
1 changed files, 3 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 a1355ff73bf383dd6f404a1cd56866925d0aa3b2..15d1900718a734e3701f979434ff7480448c4c58 100644
--- a/packages/tailwindcss-language-server/src/server.ts
+++ b/packages/tailwindcss-language-server/src/server.ts
@@ -1417,11 +1417,12 @@       workspaceFolders = Object.entries(configFiles).map(
         ([relativeConfigPath, relativeDocumentSelectorOrSelectors]) => {
           return {
             folder: base,
-            configPath: path.join(base, relativeConfigPath),
+            configPath: path.resolve(base, relativeConfigPath),
             documentSelector: []
               .concat(relativeDocumentSelectorOrSelectors)
-const CONFIG_FILE_GLOB = '{tailwind,tailwind.config}.{js,cjs}'
+import './lib/env'
 import './lib/env'
+  createConnection,
           }
         }
       )