Vincent Rischmann

Results 38 comments of Vincent Rischmann

Hi. sorry for not responding earlier, personal stuff has been getting in the way lately. I'll try to look into this sometime this or next week.

Hi. Super late but I took a quick look. The scanner removes leading whitespaces [here](https://github.com/vrischmann/tree-sitter-templ/blob/master/src/scanner.c#L440-L442). If I comment ou this code it looks like the node `script_element_text` does contain the...

I gave it a try for about 2 hours (see [here](https://github.com/vrischmann/tree-sitter-templ/blob/templ-indents/queries/templ/indents.scm), copied/adapted the queries from HTML) but it doesn't work and I don't understand why. I'll probably come back to...

thanks for testing. It's weird that it doesn't work for me.

Hi @AnthonyPoschen. is this still a problem for you or can I close this issue ?

Finally got back to this. I did some digging in https://github.com/vrischmann/tree-sitter-templ/tree/fix-inconsistencies and I can't use `tag_start` and `tag_end`, it breaks the parsing. So the only way that works is to...

Hi, a quick test show we don't handle import expressions using the form ``` @Foo{ } ``` right the now parser thinks the `{` starts a new block and it...

Hi, I started working on this a while ago in this branch: https://github.com/vrischmann/tree-sitter-templ/tree/fix-import-expression-brace but IIRC it doesn't work and I didn't touch it since then. I don't have time right...