-
-
Notifications
You must be signed in to change notification settings - Fork 273
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
Vscode plugin crash #820
Comments
Hi, there seems to have been a change in gopls which surfaced a lack of nil check that had been in the templ LSP for a long time. That issue was fixed in the latest release. From the logs you provided, it looks like you're using a version of the templ CLI that's around 10 versions behind the current release, so it's worth you upgrading your CLI version to see if that solves the issue. There have been a lot of improvements and minor bug fixes since January. |
Edit: Ok great that helped thank you. I misread what you said at first. Upgrading the gotools and templ has resolved the issue. |
Hey, just to follow up on this one, it turns out that my first attempt at a fix didn't quite do the job. I worked out how to reproduce the issue, and believe it's now fixed in main. As soon as I get confirmation from others that it's sorted, I'll push a new version out. Sorry for the inconvenience. |
Is this related to LSP or VSCode? I'm asking because LSP (autocomplete/imports) hasn't been working for me in NeoVim with the latest versions either. |
I've been getting this error when trying to load the VScode plugin lately. It's not really useable at the moment but it was working until recently. Maybe the plugin update in the last few days that caused this?
The text was updated successfully, but these errors were encountered: