-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
nimsuggest instance for project ... stopped with exitcode: 1 #37
Comments
The message is emitted whenever
|
I'm having the same issue and I'm unsure what the problem is. Nimsuggest (including Is there a way to get nvim to instruct nimsuggest to emit more information? |
You can add nim.nvim/autoload/nim/suggest.vim Line 12 in 87afde2
Then I'll add a logging function to nim.nvim once I have the time to do so, so you'll have to use this for now.
One thing to note is that And also, the compiler is not very tolerant of broken (ie. incomplete) files and that might cause |
I am also facing the same error whenever I open any
|
Had the same issue and solved it through In order to solve this issue just install nim like this: curl https://nim-lang.org/choosenim/init.sh -sSf | sh
choosenim stable Then run nimble install nimlsp (could take a while) Sources: PMunch/nimlsp#67 |
I have installed this plugin on my Ubuntu 20.04 machine by adding
Plug 'alaviss/nim.nvim'
into ./config/nvim/init.vim file, followed by running
nvim
and:PlugInstall
.The Nim language code becomes now nicely highlighted, but gd, gD do not jump into function definitions.
When I open the file such as nvim gltf.nim inside the cloned repo guzba/gltfviewer, this shows up at the bottom of neovim:
nimsuggest instance for project /home/tokyo/gltfviewer/src stopped with exitcode: 1
and when pressing gd/gD:
nim.nvim: instance is not running
This is a similar issue reported before and closed (#16), yet it occurs with newer nim/nimsuggest versions, i.e.
nimsuggest --version Nim Compiler Version 1.4.0 [Linux: amd64] Compiled at 2020-10-18 Copyright (c) 2006-2020 by Andreas Rumpf
It seems that
nimsuggest
itself runs fine, i.e. running in the terminalnimsuggest gltf.nim
produces the green-colored lines:nimsuggest gltf.nim Hint: used config file '/home/tokyo/.choosenim/toolchains/nim-1.4.0/config/nim.cfg' [Conf] Hint: used config file '/home/tokyo/.choosenim/toolchains/nim-1.4.0/config/config.nims' [Conf] Hint: used config file '/home/tokyo/gltfviewer/config.nims' [Conf] ...
So nimsuggest is installed and is visible, yet nim.nvim stops it upon loading somehow.
The text was updated successfully, but these errors were encountered: