Home

tailwind-ctp-intellisense @master - refs - log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
Tailwind intellisense + Catppuccin
tree log patch
Fix for projects with brackets in their path (#429)
Brad Cornes <bradlc41@gmail.com>
3 years ago
1 changed files, 1 additions(+), 1 deletions(-)
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 e23c50260739deafc9a2ce244f7f3552bf537aa0..1d5ea430210d34122d098b0752f7a7c5df5a3f48 100755
--- a/packages/vscode-tailwindcss/src/extension.ts
+++ b/packages/vscode-tailwindcss/src/extension.ts
@@ -243,7 +243,7 @@     let clientOptions: LanguageClientOptions = {
       documentSelector: languages.get(folder.uri.toString()).map((language) => ({
         scheme: 'file',
         language,
-        pattern: `${folder.uri.fsPath}/**/*`,
+        pattern: `${folder.uri.fsPath.replace(/[\[\]\{\}]/g, '?')}/**/*`,
       })),
       diagnosticCollectionName: CLIENT_ID,
       workspaceFolder: folder,