Open xkqqkx opened 3 years ago
solved by adding project configuration file with --threads:on
directive
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: