zed/extensions/astro/languages/astro
Thorsten Ball c354793871
astro: Fix Tailwind LS not working in attributes (#12741)
This fixes #12402.

We already had the `tailwind-language-server` config in Astro's
`config.toml` here:
fd39f20842/extensions/astro/languages/astro/config.toml (L17-L23)

But it's not enough to add `overrides.string` to the `config.toml`, you
also need an `overrides.scm` file that sets the overrides.

And, tricky bit, when you add a single override to the `overrides.scm`
file you have to add all of them that Zed knows about. In my case, I had
to add `@comment` too, because Zed somehow expects that.

Release Notes:

- Fixed `tailwind-language-server` not working in attributes inside of
`*.astro` files.
([#12402](https://github.com/zed-industries/zed/issues/12402)).

Demo/proof:


https://github.com/zed-industries/zed/assets/1185253/05677a2d-831d-4e05-a1a2-4d1730ce2a46
2024-06-06 18:57:10 +02:00
..
brackets.scm Extract Astro support into an extension (#9835) 2024-03-26 18:50:08 -04:00
config.toml Extract Astro support into an extension (#9835) 2024-03-26 18:50:08 -04:00
highlights.scm Extract Astro support into an extension (#9835) 2024-03-26 18:50:08 -04:00
injections.scm astro: Fix broken language injections (#11830) 2024-05-14 18:57:10 -04:00
overrides.scm astro: Fix Tailwind LS not working in attributes (#12741) 2024-06-06 18:57:10 +02:00