Nimlsp pegs CPU to 100% in Nim 2.2.0
My CPU is fully maxed out with Nimlsp (compiled with Nim 2.2.0) on NixOS. I know that Nimlsp has been compiled with Nim 2.2.0 because the build manifest is set to compile it with the latest Nim version available in nixpkgs, that being 2.2.0 for the past few weeks.
This sounds like a nimsuggest bug, it's known to do that. I'll check later to see if nimlsp is the culprit though.
Alright, please let me know if you need any further debug info.
This sounds like a nimsuggest bug, it's known to do that. I'll check later to see if nimlsp is the culprit though.
Well if it isn't it could suggest that it's a nim bug and should be reported here
Please let me know asap as we are just about a corner to releasing 24.11 NixOS
Still haven't had time to follow up on this, but did you raise it to nimsuggest?
I did not, sorry. I'll make an issue in the Nim repo quickly.
This is an issue for me now on 2.2.6 (nimlsp v0.4.7). Is there a known solution?
See the nimsuggest issue above. Seems like multiple people are having this regardless of which LSP implementation they use, so it's not a nimlsp bug.