Skip to content

Conversation

thecrypticace
Copy link
Contributor

@thecrypticace thecrypticace commented Apr 12, 2025

When using the tailwindCSS.classFunctions setting we were handling completions correctly inside <script> tags but not class hovers. This is b/c the code path for the two is just… different.

It'll get unified eventually (soon hopefully) but until then this is the bug fix to ensure that hovering inside something like <script>let classes = clsx("flex relative")</script> works

@thecrypticace thecrypticace changed the title Support class function hovers in Svelte <script> blocks Support class function hovers in Svelte and HTML <script> blocks Apr 12, 2025
@thecrypticace thecrypticace force-pushed the fix/class-functions-hover-in-script-tags branch from 14fc27d to b4451e4 Compare April 14, 2025 15:38
@thecrypticace thecrypticace marked this pull request as ready for review April 14, 2025 15:39
@thecrypticace thecrypticace merged commit e88d6dc into main Apr 23, 2025
12 checks passed
@thecrypticace thecrypticace deleted the fix/class-functions-hover-in-script-tags branch April 23, 2025 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants