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
If that works, then it's likely that you've installed additional packages while nimsuggest is running, and currently nimsuggest cannot detect changes to the NimblePath, thus the only way to solve this is to restart the editor or nimsuggest via :call nim#suggest#ProjectStop() | call nim#suggest#ProjectStart(). This is unfortunately a nimsuggest limitation and there is not much that I can do here.
As for nimterop-based wrappers, Nim has banned external code execution within nimsuggest via staticExec which mean nimterop won't work very well in this environment.
If restarting doesn't work, then can you provide additional details on how your Nim is setup? If you use localdeps mode of nimble, then unfortunately nimsuggest is not aware of this by default.
I restarted the editor and restartet nimsuggest as well, but unfortunately neither helped.
I'm not quite sure what you mean by Nim setup. How do I get the information you are looking for?
I am using NVIM for Nim development and have some highlighting issues when using nimble packages.
For some reason NVIM does highlight the BASS and illwill functions with a red error-y background, as you can see here
I am using the alaviss/nim.nvim and asynccomplete.vim plugins alongside treesitter.
How do I get NVIM to actually recognize external functions?
The shown code does compile without issues, so those are not actual errors.
The text was updated successfully, but these errors were encountered: