language-tools
language-tools copied to clipboard
Svelte 5: properly highlight `<component.dot.notation />`
Description
In Svelte 5 tags with a dot in it are counted as components. They should be highlighted as such from our textmate grammar.
Proposed solution
adjust grammar
Alternatives
No response
Additional Information, eg. Screenshots
No response
Uh this also reminded me: if you rename the symbol the component with dot notation is also left untouched.
{#each components as component}
<component.default />
{/each}
If I rename component component.default is not renamed, I don't know if fixing the grammar will also fix this