Home

tailwind-ctp-intellisense @master - refs - log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
Tailwind intellisense + Catppuccin
tree log patch
Fix activation when connected to Windows with Remote SSH (#748)
Signature
-----BEGIN PGP SIGNATURE----- wsBcBAABCAAQBQJkIsSiCRBK7hj4Ov3rIwAAXoYIAHnK2CAaKs5uRn766d2g76Nw Zx+P2kq7WT7zLHV/nhOyzUt7W3GiVxT3vjo/udSGW1UKf4NN8Ymihijctg/rFqz3 aktIjWNSDCTn0tETEc+hhPe2N8UCDEjuT4oifdX5MQIB3Jtmd3rt5oq1iPy1E4KE oNQaBRMLhV81SIWSgF270w/rvB8lSCH3ZGTXKZ30xBbCjKn6o0GJadtFAaJXJ5A6 7rtxIHKyGlswqPvQ+xikvSGJv9Ll825Hu+afCrEPbV39iol7fHWdrKSnzBW3kTjc n1BuP0lu/RzzaVD/D2apCqbgSe8a4I+mQKGhKOG6dPCMD3oHaDEJNe5E4G3N5sU= =9xce -----END PGP SIGNATURE-----
Brad Cornes <hello@bradley.dev>
2 years ago
2 changed files, 3 additions(+), 1 deletions(-)
M packages/vscode-tailwindcss/package.json -> packages/vscode-tailwindcss/package.json
diff --git a/packages/vscode-tailwindcss/package.json b/packages/vscode-tailwindcss/package.json
index 55a312bbcaf0e955f0d11d21b73ed1261390c9a1..286a848ef597ee355d9daf56a505914943197419 100755
--- a/packages/vscode-tailwindcss/package.json
+++ b/packages/vscode-tailwindcss/package.json
@@ -327,6 +327,7 @@     "braces": "3.0.2",
     "color-name": "1.1.4",
     "concurrently": "7.0.0",
     "minimatch": "5.1.4",
+    "normalize-path": "3.0.0",
     "rimraf": "3.0.2",
     "vsce": "2.15.0",
     "vscode-languageclient": "8.0.2"
M packages/vscode-tailwindcss/src/extension.ts -> packages/vscode-tailwindcss/src/extension.ts
diff --git a/packages/vscode-tailwindcss/src/extension.ts b/packages/vscode-tailwindcss/src/extension.ts
index 4ad6e2bd794380886040beb4a49483faeb04ccaa..b324b2c5fb4f04d1f3c36b6bd9087d7e1d0f56b5 100755
--- a/packages/vscode-tailwindcss/src/extension.ts
+++ b/packages/vscode-tailwindcss/src/extension.ts
@@ -44,6 +44,7 @@ import namedColors from 'color-name'
 import minimatch from 'minimatch'
 import { CONFIG_GLOB, CSS_GLOB } from 'tailwindcss-language-server/src/lib/constants'
 import braces from 'braces'
+import normalizePath from 'normalize-path'
 
 const colorNames = Object.keys(namedColors)
 
@@ -443,7 +444,7 @@     let clientOptions: LanguageClientOptions = {
       documentSelector: languages.get(folder.uri.toString()).map((language) => ({
         scheme: 'file',
         language,
-        pattern: `${folder.uri.fsPath.replace(/[\[\]\{\}]/g, '?')}/**/*`,
+        pattern: normalizePath(`${folder.uri.fsPath.replace(/[\[\]\{\}]/g, '?')}/**/*`),
       })),
       diagnosticCollectionName: CLIENT_ID,
       workspaceFolder: folder,