Open AlbertMarashi opened 2 months ago
Simpler test case:
Works:
{{ "foo": "bar" }}
Breaks
{{
"foo": "bar"
}}
I believe a bunch of faulty logic was added inside of: https://github.com/Himujjal/tree-sitter-svelte/blob/master/src/scanner.c#L270-L273
I placed some review comments on the commit
PR #50 broke something which was merged into zed and is now affecting my code.
Test case:
For some reason, newlines within the
baz
prop appear to break parsingIf I remove the newlines, it parses
Downgrading the zed extension's commit version to #49's fixes the bug, so something in here seems like it was introduced which broke parsing.