vrischmann / tree-sitter-templ

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issue with generic templ

Nuxnuxx opened this issue · comments

Hello, when using the templ TS, i come across a problem.
If i use a generic templ function such as this templ ServiceList[V pkg.ServiceGeneric](services []V)
the line up and down from my declaration are not colored
image
Is this a problem of the tree sitter for templ ?

Generic templ components are not supported (I didn't even know this existed).

I'll look into it in the near future.

This should be fixed now. It should be available in nvim-treesitter in a couple of days.

Thanks a lot !