# astro: Fix Tailwind LS not working in attributes \(\#12741\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/c354793871e57f15bdf749a3fb1124cdebcb79ae)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: c354793871e57f15bdf749a3fb1124cdebcb79ae

Requested commit: c354793871e57f15bdf749a3fb1124cdebcb79ae

Commit: c354793871e57f15bdf749a3fb1124cdebcb79ae

Tree: 8e5d3d327ab6a2703e1a4a15fa739a49a4b6c656

Author: Thorsten Ball

Committer: GitHub

## Message

```
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:
https://github.com/zed-industries/zed/blob/fd39f20842967f0fb8a6c508bc2e1ebaefbaf15f/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
```

## Parents

- [2f057785f7da4faf05af85dc667f8bba83ce027a](https://git.cafe/gitcafe/zed/commit/2f057785f7da4faf05af85dc667f8bba83ce027a?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/c354793871e57f15bdf749a3fb1124cdebcb79ae?format=markdown)
