From 06d55626a087f74cb07b23196eee929bb38e5c18 Mon Sep 17 00:00:00 2001 From: Alex Pagnotta Date: Tue, 2 Apr 2024 09:46:34 +0200 Subject: [PATCH] feat: add intellisense vs code config to match simple string styles --- .vscode/settings.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 5a45055..5e62056 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -4,6 +4,7 @@ "typescript.preferences.importModuleSpecifier": "non-relative", "tailwindCSS.experimental.classRegex": [ ["cva\\(([^)]*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]"], - ["cx\\(([^)]*)\\)", "(?:'|\"|`)([^']*)(?:'|\"|`)"] + ["cx\\(([^)]*)\\)", "(?:'|\"|`)([^']*)(?:'|\"|`)"], + ["\\w+Style?s?\\s*=\\s([^;]+)", "[\"'`]([^\"'`]*).*?[\"'`]"] ] }