-
-
Notifications
You must be signed in to change notification settings - Fork 286
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 crashes after being started by kakoune-lsp #873
Comments
The code action error from the logs (nil pointer) looks like a bug that was fixed in a previous version of templ - #771 The bug was triggered by a change in behaviour of gopls, so even if templ was working great, as soon as gopls was updated, it would start crashing. I'd recommend installing the latest version, and making sure it's in your path. |
Also, you can get templ LSP to log more by adding extra args to the 'templ lsp' command. |
thanks it was indeed a PATH problem, I was using an old version. |
Great. I'm working (background task, slowly) on getting templ to support proxying down to multiple LSPs so I can improve the HTML LSP support. Have to balance the work and life etc. 😁 |
Describe the bug
Attempting to use
templ
with the kakoune editor via the kakoune-lsp plugin results in an unintelligible crash.To Reproduce
kakoune-lsp
binaryExpected behavior
no crash, possibly completions if I start inputting Go code
Logs
This is the log from kak-lsp
templ log
Desktop (please complete the following information):
go version go1.22.5 linux/amd64
)gopls
version (0.16.1
)Additional context
Possible cause is that kakoune-lsp sends
but I don't even get a proper backtrace from templ, so I figured I report it.
The text was updated successfully, but these errors were encountered: