tailwind-ctp-intellisense @master -
refs -
log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
diff --git a/packages/tailwindcss-language-server/src/server.ts b/packages/tailwindcss-language-server/src/server.ts
index 8495be020a5156578985184075861fb9abe08bd6..db279929704b082bdb28943f5c27bcb3e80381a0 100644
--- a/packages/tailwindcss-language-server/src/server.ts
+++ b/packages/tailwindcss-language-server/src/server.ts
@@ -391,7 +391,7 @@
// VS Code _does_ support `itemDefaults.data` since at least 1.67.0 (this extension's min version)
// but it doesn't advertise it in its capabilities. So we manually add it here.
// See also: https://github.com/microsoft/vscode-languageserver-node/issues/1181
- if (params.clientInfo?.name === 'Visual Studio Code' && !itemDefaults.includes('data')) {
+ if (params.clientInfo?.name?.includes('Visual Studio Code') && !itemDefaults.includes('data')) {
itemDefaults.push('data')
}