# Scope Tailwind in JS/TS to within string · gitcafe/zed

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

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

Visibility: public

Requested revision: 529adb95a1a2b3f97ea35b563ff1aa67546624d5

Requested commit: 529adb95a1a2b3f97ea35b563ff1aa67546624d5

Commit: 529adb95a1a2b3f97ea35b563ff1aa67546624d5

Tree: f6d8165569b9fc7a094414d303de3ef9e503d0db

Author: Julia

Committer: Julia

## Message

```
Scope Tailwind in JS/TS to within string

In some situations outside JSX elements Tailwind will never
respond to a completion request, holding up the tsserver completions.

Only submit the request to Tailwind when we wouldn't get tsserver
completions anyway and don't submit to Tailwind when we know we won't
get Tailwind completions

Co-Authored-By: Kirill Bulatov <kirill@zed.dev>

```

## Parents

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

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