From 8c393a2b55b0932f8e83605b237bb66dcac3ae26 Mon Sep 17 00:00:00 2001 From: Daniel Lockyer Date: Tue, 18 Jul 2023 14:10:26 +0200 Subject: [PATCH] Added `clsx` Tailwind autocomplete support to VSCode refs https://github.com/lukeed/clsx#tailwind-support - this should enable Tailwind autocomplete in `clsx` for those who use the Tailwind Intellisense plugin --- .vscode/settings.json | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 7592c54830..81d4d0b4d4 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -19,5 +19,8 @@ "**/ghost.map": true, "**/node_modules": true, "ghost/core/core/built/**": true - } -} \ No newline at end of file + }, + "tailwindCSS.experimental.classRegex": [ + ["clsx\\(([^)]*)\\)", "(?:'|\"|`)([^']*)(?:'|\"|`)"] + ] +}