vrischmann / tree-sitter-templ

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Else if are not supported

gungun974 opened this issue · comments

I write this issue very quick cause I'm not done for my work today but I found a bug !

This tree sitter plugin support the if and else pattern in templ but the else if of Go is not.

In my treesitter tree I can see some ERROR node on when should be component_if_statement.

I will look later this day for making a PR to address this issue since I think it should be relativity easy.

But for now I made this Issue as a reminder for myself ^^

I'm closing this since you fixed it in #12