nim-lang / vscode-nim

A VS Code plugin for the Nim language
Other
78 stars 8 forks source link

`Server failed with Nimsuggest process crashed.` #79

Closed dysrakescence closed 3 months ago

dysrakescence commented 3 months ago

While setting up the LSP server for Nim, I ran into a problem. It seems like Nimsuggest crashes without a reason. I tried downloading nimlangserver from nimble but it didn't solve anything. I tried uninstalling Nim and reinstalling, constantly restarting both VSCode and the LSP extension, but nothing changes. Here's my LSP info tab: image As of currently, this extension is only capable of highlighting text in my Nim files, which wasn't as helpful as I had hoped, unless the LSP extension is only meant for adding color to text? Does anyone else have this issue?

jmgomez commented 3 months ago

Do this also happen to you in an empty nim file? Also make sure you update your nim to the latest version

dysrakescence commented 3 months ago

It seems like updating my Nim to the latest version fixed my problem! I used the Arch Linux Extra repository and it appears that the maintainer hasn't been updating it since May 14th, so the Nim version was stuck on 2.0.4. Thanks for the help!