You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nimlsp crashes when opening file that imports cligen and threadpool modules. Without threadpool import it works fine. On CentOS 7, nim 1.4.8 and neovim 0.5.0 builtin lsp client.
the message was
nimsuggest instance for project /home/user/tmp stopped with exitcode: 1
Small example to reproduce the issue:
import threadpool
import cligen
proc f1(s: string) =
echo s
proc f2(s: string) =
echo s
when isMainModule:
dispatchMulti([f1], [f2])
The text was updated successfully, but these errors were encountered:
Ah yes, for NimLSP to work it needs to be able to build the project. This means that any switches that you pass on compile-time should be put in a configuration file so NimLSP can find them. This should have a better failure mode though, with a better error message, so that it's obvious to the user what they need to do. I'll keep this issue open as a reminder.
nimlsp crashes when opening file that imports cligen and threadpool modules. Without threadpool import it works fine. On CentOS 7, nim 1.4.8 and neovim 0.5.0 builtin lsp client.
the message was
nimsuggest instance for project /home/user/tmp stopped with exitcode: 1
Small example to reproduce the issue:
The text was updated successfully, but these errors were encountered: