Himujjal / tree-sitter-svelte

Tree sitter grammar for Svelte
MIT License
81 stars 14 forks source link

The dot character in component's name breaks the highlighting #25

Closed AnatoleLucet closed 2 years ago

AnatoleLucet commented 2 years ago

Hi :wave:. It seems like having a . (dot) in a component name, breaks the highlighting (especially the css).

For some reason, the .Root doesn't seem to have the correct highlighting, and the css's is fully absent (although I seem to be able to "fix" it when adding/removing a level of indentation).

Himujjal commented 2 years ago

Okay. This is a real issue. Will fix this in the next iteration. Thanks for finding this out

Himujjal commented 2 years ago

https://github.com/Himujjal/tree-sitter-svelte/releases/tag/v0.10.0

Fixes this