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
This commit is contained in:
Daniel Lockyer 2023-07-18 14:10:26 +02:00 committed by Daniel Lockyer
parent cd4a3e3773
commit 8c393a2b55

View File

@ -19,5 +19,8 @@
"**/ghost.map": true, "**/ghost.map": true,
"**/node_modules": true, "**/node_modules": true,
"ghost/core/core/built/**": true "ghost/core/core/built/**": true
} },
"tailwindCSS.experimental.classRegex": [
["clsx\\(([^)]*)\\)", "(?:'|\"|`)([^']*)(?:'|\"|`)"]
]
} }