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
I'm unsure if it's templ or my setup, but it seems like the autocomplete functionality has stopped working. I'm currently using Neovim with lazyvim, and it has been working fine, but I updated both templ + my plugins, but afterwards, it doesn't work. I've been trying to downgrade to an earlier version with no luck, so I'm a bit confused if it's templ or somewhere in my config, even tho my config is pretty simple and only contains very very few tweaks to the default lazyvim setup.
So it looks like templ finds completions but nvim-cmp doesn't pick them up. Performing CmpStatus also shows that templ is ready as source and templ as LSP is running as I get type errors / hints within a templ file as well.
This morning I tried vsCode + templ and go plugin but vs code reports a code action error whenever I type something and want completions:
[Error - 09:49:17] Request textDocument/codeAction failed.
Message: column is beyond end of line
Code: 0
So that's why I'm a bit puzzled.. Appreciate any help that can point me in the right direction
The text was updated successfully, but these errors were encountered:
The codeAction issue is unrelated, see #801 and the PR #817 that fixes it. For that issue, I think that the VS Code extension has started checking for Code Actions more commonly, highlighting the issue, or gopls has started reporting when a text position is past the end of the line (unexpected since IIRC, the LSP spec says that servers should assume that if a position is past the end of the line, the client means the end of the line).
I use Neovim, and it's all working OK for me, including using the very latest version of templ. So I suspect it's something to do with your Neovim configuration.
I'm unsure if it's templ or my setup, but it seems like the autocomplete functionality has stopped working. I'm currently using Neovim with lazyvim, and it has been working fine, but I updated both templ + my plugins, but afterwards, it doesn't work. I've been trying to downgrade to an earlier version with no luck, so I'm a bit confused if it's templ or somewhere in my config, even tho my config is pretty simple and only contains very very few tweaks to the default lazyvim setup.
Here are the logs from templ:
So it looks like templ finds completions but nvim-cmp doesn't pick them up. Performing CmpStatus also shows that templ is ready as source and templ as LSP is running as I get type errors / hints within a templ file as well.
This morning I tried vsCode + templ and go plugin but vs code reports a code action error whenever I type something and want completions:
So that's why I'm a bit puzzled.. Appreciate any help that can point me in the right direction
The text was updated successfully, but these errors were encountered: