Skip to content

Commit 4ecc5ad

Browse files
authored
docs: update classRegex, closes #824
1 parent 65238f9 commit 4ecc5ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/content/2.tailwind/3.editor-support.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ When using strings of Tailwind classes, you can enable IntelliSense suggestions
2626

2727
```diff [.vscode/settings.json]
2828
// ...
29-
+ "tailwindCSS.experimental.classRegex": ["tw`(.*?)`", "tw\\('(.*?)'\\)"],
29+
+ "tailwindCSS.experimental.classRegex": ["tw`(.*?)`", "tw\\('(.*?)'\\)", "tw\\(\\s*('(.*?)'|\"(.*?)\")\\s*\\)"],
3030
"files.associations": {
3131
"*.css": "tailwindcss"
3232
},

0 commit comments

Comments
 (0)