Skip to content
New issue

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

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

Already on GitHub? # to your account

syntax highlighting errors in conditionals #11

Closed
PierBover opened this issue Nov 7, 2024 · 2 comments
Closed

syntax highlighting errors in conditionals #11

PierBover opened this issue Nov 7, 2024 · 2 comments

Comments

@PierBover
Copy link

PierBover commented Nov 7, 2024

I'm seeing these weird errors in valid syntax when using conditionals.

image

Or see how the syntax color change depending on the element order:

image
@FichteFoll
Copy link
Member

When reporting highlighting issues, please include code samples in plain text for reproduction.

@PierBover
Copy link
Author

PierBover commented Nov 7, 2024

Sorry, you're right.

	{VITE_USE_VITE_WEB_COMPONENTS && (
		<script type="module" src="http://localhost:5173/@vite/client" is:inline></script>
		<script type="module" src="http://localhost:5173/src/main.js" is:inline></script>
	)}
		{DEV && (
			<wavekit-ribbon audio-id="7SHuksjXYA" border="false"/>
			<wavekit-ribbon audio-id="7SHuksjXYA" border="false"/>
			<wavekit-ribbon audio-id="7SHuksjXYA" border="false"/>
			<wavekit-ribbon audio-id="7SHuksjXYA" border="false"/>
			<wavekit-ribbon audio-id="7SHuksjXYA" border="false"/>
			<wavekit-ribbon audio-id="7SHuksjXYA" border="false"/>
			<wavekit-ribbon audio-id="7SHuksjXYA" border="false"/>
		)}

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants