-
-
Notifications
You must be signed in to change notification settings - Fork 280
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lsp: panic on codeAction #771
Comments
Looks like we're missing a nil check at templ/cmd/templ/lspcmd/proxy/server.go Lines 294 to 300 in 108500b
|
It seems that |
If you can try the commit above, that would be great. |
@a-h Yeah, it doesn't panic with this commit. Thanks! |
In case others run into this, I had to patch the global templ installation to get this working
|
Rolled back to gopls@v0.15.3 and that fixed the problem. |
Hi,
I'm using SublimeText with LSP plugin. The Templ LSP always throws the error. Looks like it's happening on
codeAction
The text was updated successfully, but these errors were encountered: