You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I don't get any auto completion on .templ files for branching statements such as for loops and ifs. I do get autocomplete on expressions though.
To Reproduce
Try to get auto complete on neovim on branching statements.
I don't know if this is helpful, but here is my config: https://github.com/phenpessoa/nvim
Expected behavior
Auto complete shows up as expected.
Screenshots
templ info output
(✓) os [ goos=linux goarch=amd64 ]
(✓) go [ location=/usr/local/go/bin/go version=go version go1.24.0 linux/amd64 ]
(✓) gopls [ location=/home/phenpessoa/.local/share/nvim/mason/bin/gopls version=golang.org/x/tools/gopls v0.18.1 ]
(✓) templ [ location=/home/phenpessoa/go/bin/templ version=v0.3.833 ]
Desktop (please complete the following information):
OS: linux
templ CLI version v0.3.833
Go version go1.24.0 linux/amd64
gopls version golang.org/x/tools/gopls v0.18.1
The text was updated successfully, but these errors were encountered:
Describe the bug
I don't get any auto completion on .templ files for branching statements such as for loops and ifs. I do get autocomplete on expressions though.
To Reproduce
Try to get auto complete on neovim on branching statements.
I don't know if this is helpful, but here is my config: https://github.com/phenpessoa/nvim
Expected behavior
Auto complete shows up as expected.
Screenshots

templ info
outputDesktop (please complete the following information):
gopls
version golang.org/x/tools/gopls v0.18.1The text was updated successfully, but these errors were encountered: