indent-blankline.nvim icon indicating copy to clipboard operation
indent-blankline.nvim copied to clipboard

Golang Templ support?

Open JamesTiberiusKirk opened this issue 1 year ago • 2 comments

Problem

Wondering if we can get golang templ support templ.guide

Here is how it looks at the moment. Screenshot 2023-12-21 at 17 57 44

Also scope does not work either.

Expected behavior

Feature request.

JamesTiberiusKirk avatar Dec 21 '23 18:12 JamesTiberiusKirk

I can't reproduce your screenshot, can you please use the minimal reproduction template

For scope to work, there needs to be treesitter support for this.

lukas-reineke avatar Dec 22 '23 02:12 lukas-reineke

This was a bug in templ fmt fixed here. Update templ and the issue should be fixed.

JonnyLoughlin avatar Dec 27 '23 17:12 JonnyLoughlin

Sorry completly forgot about this issue. and yeah templ fmt works (but it is buggy)

sorry, it does seem like its an issue with templ formatter and not your plugin @lukas-reineke

JamesTiberiusKirk avatar Feb 19 '24 12:02 JamesTiberiusKirk