Skip to content

Commit

Permalink
docs: update vscode settings
Browse files Browse the repository at this point in the history
  • Loading branch information
kazak1377 authored and gregberge committed May 13, 2024
1 parent 3b44a2f commit b144ed5
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions website/pages/docs/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,12 @@ You can enable Tailwind CSS autocompletion inside `twc` using the steps below:
2. Add the following to your [`settings.json`](https://code.visualstudio.com/docs/getstarted/settings):

```json
{
"tailwindCSS.experimental.classRegex": [
"twc\\.[^`]+`([^`]*)`",
"twc\\(.*?\\).*?`([^`]*)",
"tailwindCSS.experimental.classRegex": [
"twc\\.[^`]+`([^`]*)`",
"twc\\([^`]*?\\)`([^`]*)`",
["twc\\.[^`]+\\(([^)]*)\\)", "(?:'|\"|`)([^']*)(?:'|\"|`)"],
["twc\\(.*?\\).*?\\(([^)]*)\\)", "(?:'|\"|`)([^']*)(?:'|\"|`)"]
]
}
["twc\\([^`]*?\\).*?\\(([^)]*)\\)", "(?:'|\"|`)([^']*)(?:'|\"|`)"]
]
```

</Tab>
Expand Down

0 comments on commit b144ed5

Please sign in to comment.