Closed alexeira closed 1 month ago
Great idea, thanks for your contribution. Now I think about it, I have actually never looked down the bottom of a CSS file which the tailwind LSP is looking after, so I didn't realize it was segmented out. Thanks for pointing it out!
Hi I really liked your extension and the work you did, but I currently use
tailwindcss
in my.css
files, this to avoid warnings and have some extra snippets.So I was testing locally adding an extra condition to
editor.document.languageId
, this way it also identifiestailwindcss
as a language and shows the previews correctly.Without the latter it only worked for the
css
language, maybe it would be a good idea to consider the same logic for.postcss
,scss
, among others.I leave a video of test with the change incorporated in local, thanks again for your work!
https://github.com/dexxiez/shadcn-hsl-preview/assets/102609365/d3d1e53e-731d-4bc3-9807-c94d76ec91ff