Skip to content

Commit

Permalink
docs: update classRegex, closes #824
Browse files Browse the repository at this point in the history
  • Loading branch information
ineshbose authored Apr 7, 2024
1 parent 65238f9 commit 4ecc5ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/content/2.tailwind/3.editor-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ When using strings of Tailwind classes, you can enable IntelliSense suggestions

```diff [.vscode/settings.json]
// ...
+ "tailwindCSS.experimental.classRegex": ["tw`(.*?)`", "tw\\('(.*?)'\\)"],
+ "tailwindCSS.experimental.classRegex": ["tw`(.*?)`", "tw\\('(.*?)'\\)", "tw\\(\\s*('(.*?)'|\"(.*?)\")\\s*\\)"],
"files.associations": {
"*.css": "tailwindcss"
},
Expand Down

0 comments on commit 4ecc5ad

Please sign in to comment.