Tailwind and CSS #36154
Replies: 3 comments 1 reply
-
|
Not sure if this is exactly your issue, but I'm getting lint errors like tailwindlabs/tailwindcss#5258 (reply in thread) See also: https://github.com/microsoft/vscode-css-languageservice/blob/main/docs/customData.md?plain=1 But so far I haven't been able to make it work in Zed. Does anyone know how to add custom |
Beta Was this translation helpful? Give feedback.
-
|
@xcrap It looks like there are a couple issues open for this at this point. You should be able to work around the issue for now by adding the following to your {
"languages": {
"CSS": {
"language_servers": ["tailwindcss-language-server"]
}
}
} |
Beta Was this translation helpful? Give feedback.
-
|
I have this If I had "language_servers": ["tailwindcss-language-server"] nothing happens, there's no linting what so ever in css, nothing works. The docs shows this config in a different setting: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
The last version who fixed some CSS LSP and now I get a bunch of linting errors
First https://zed.dev/docs/languages/css here i believe it should be vscode-css-languageservice instead of the vscode-html-languageservice that is written, second does tailwind lsp support not include the tailwind config directives ?! It's so confusing.
Beta Was this translation helpful? Give feedback.
All reactions