Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix classRegex hovers in unknown contexts #824

Merged
merged 1 commit into from Jul 18, 2023
Merged

Fix classRegex hovers in unknown contexts #824

merged 1 commit into from Jul 18, 2023

Conversation

bradlc
Copy link
Contributor

@bradlc bradlc commented Jul 18, 2023

Fixes #822

Previously findClassNameAtPosition would only return results if the position was in a known CSS, HTML, or JSX context. Now, experimental.classRegex configurations are always checked regardless of the position in the file.

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.

Tooltip not appearing in <script> part of Svelte file (with experimental class-regex)
1 participant