![]() This fixes the issue mentioned here: https://github.com/zed-industries/zed/issues/5830#issuecomment-2111947083 In order for other languages to work, we need to pass the following settings along to the Tailwind language server. With the following Zed settings, it then also works for Scala: ```json { "languages": { "Scala": { "language_servers": ["tailwindcss-language-server"] }, }, "lsp": { "tailwindcss-language-server": { "settings": { "includeLanguages": { "scala": "html" }, "experimental": { "classRegex": ["[cls|className]\\s\\:\\=\\s\"([^\"]*)"] } } } } } ``` Release Notes: - Added ability to configure settings for `tailwindcss-language-server`, namely the `includeLanguages` and `experimental` objects. **NOTE**: I have only tested that the language server boots up for Scala files and that the settings are forwarded correctly. I don't have a Scala+Tailwind project with which to test that the actual completions also work. cc @nguyenyou |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
LICENSE-GPL |