lukas-reineke / indent-blankline.nvim

Indent guides for Neovim
MIT License
4.07k stars 102 forks source link

Golang Templ support? #806

Closed JamesTiberiusKirk closed 6 months ago

JamesTiberiusKirk commented 8 months ago

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.

lukas-reineke commented 8 months ago

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.

JonnyLoughlin commented 8 months ago

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

JamesTiberiusKirk commented 6 months ago

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