Home

tailwind-ctp-intellisense @master - refs - log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
Tailwind intellisense + Catppuccin
tree log patch
fix: guard against optional client capabilities (#602) for client like lsp-mode for emacs which doesn't have colorProvider, server is failing to start, and according to the specification, the capabilities here is all optional, so we should guard the nil situation.
Signature
-----BEGIN PGP SIGNATURE----- wsBcBAABCAAQBQJjHvgeCRBK7hj4Ov3rIwAABdwIADy9L8Z0vYzvvorM9j6FKie6 QB6xKeNwBpsBn2P+IfJm3XycXhaOdh6wK+/kwgQ7kTGtYfvBmMstXxc/Ww8O36IH EH+tjXm8lz3JThf8EYN25nNunLdZFqLw5PcsM6qeBvNvFwthBUX+MBcr7awHUVRp TrwOBGuOYbxaRlisANgD/s3f5heCAAary1gzkAuoDitULwluRSH7fEEb4Vu88Vjq OEjGxa2tbwqfqsNxojF6B5qDm1DbXo51BXJC1xTsXUkBgYxp8DmWJVtMU7TRxTLQ iY1uC1s76qHCVEo0L12e+lD2+6XNtj+l/cmYeLESZp7ybGWFyCidOyRDqW6577o= =CdCD -----END PGP SIGNATURE-----
A.I <merrick@luois.me>
2 years ago
1 changed files, 3 additions(+), 4 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 9ae15b878edd1994a3d647da1bda342e584b2b09..52db05936e4fb0d127538ec3fd37e17a0a8d362c 100644
--- a/packages/tailwindcss-language-server/src/server.ts
+++ b/packages/tailwindcss-language-server/src/server.ts
@@ -1564,15 +1564,14 @@ function supportsDynamicRegistration(connection: Connection, params: InitializeParams): boolean {
   return (
     connection.onInitialized &&
   ColorPresentation,
-} from 'tailwindcss-language-service/src/completionProvider'
+import isExcluded, { DEFAULT_FILES_EXCLUDE } from './util/isExcluded'
   ColorPresentation,
-  CompletionParams,
   createConnection,
+  ColorInformation,
   ColorPresentation,
-  CompletionParams,
   DocumentColorParams,
   ColorPresentation,
-  Settings,
+import preflight from 'tailwindcss/lib/css/preflight.css'
   )
 }