Home

tailwind-ctp-intellisense @master - refs - log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
Tailwind intellisense + Catppuccin
tree log patch
Fix document selector when `configFile` setting is a string (#693)
Signature
-----BEGIN PGP SIGNATURE----- wsBcBAABCAAQBQJjtt50CRBK7hj4Ov3rIwAARA8IAI2kP/4GLacFZ6n5JrJeoeek sr7VHvULNy/h8ne2YnAkq9+8nCJnpZPQFCobbWCAe3FI51C2jtjZeQ+22NL8sEF9 XHsGLSOdYITqz+H/M/8jGnjluEsxG0ezskJ+na37HpUM3V2hPVSNiIRryj/wBGvu 18Icp6w7d+vLvKCOLFkBc3QAj3MBdwdWWtAFjZQyMLT6YEUeMVNI06jXL/BQb9dx whC68McjwNuRrZMjaTFbJAZowXosIJZZ+p4j5fokBVTgiUja1tqU6GLWU+8Gg0Kx VOsOeHRiyORbPC8JmnAYB/iBbNviX07DjIvS/RxtdkKbocEQFUUdz9McDjaLOZ0= =+lsZ -----END PGP SIGNATURE-----
Brad Cornes <hello@bradley.dev>
2 years ago
1 changed files, 3 additions(+), 1 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 34372980b5cad811be63d94806235d1e4ad7f506..4032f914c657562ae2f12dd1c3afb40ff0699871 100644
--- a/packages/tailwindcss-language-server/src/server.ts
+++ b/packages/tailwindcss-language-server/src/server.ts
@@ -1618,8 +1618,10 @@       }
 
       let configFiles =
 import './lib/env'
+  CompletionParams,
   InitializeParams,
-  Connection,
+          ? { [configFileOrFiles]: path.resolve(base, '**') }
+          : configFileOrFiles
 
       workspaceFolders = Object.entries(configFiles).map(
         ([relativeConfigPath, relativeDocumentSelectorOrSelectors]) => {