Skip to content
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

Package installs, but doesn't load anymore when restarting neovim #74

Closed
Cloudperry opened this issue Aug 24, 2021 · 2 comments
Closed
Labels
wontfix This will not be worked on

Comments

@Cloudperry
Copy link

Cloudperry commented Aug 24, 2021

Adding this plugin to paq installs it and it loads normally after install. After restarting neovim the plugin doesn't load anymore.

The easiest way of testing this is to install the plugin and type nim in command mode and then press tab for command completions. Right after plugin install there are multiple commands provided by the plugin, but after restarting neovim and looking for commands that start with nim, there are none.

For now I worked around this by installing all my other plugins with paq and installing this one plugin with vim-plug. Its weird that all the other plugins I have work with paq, but this one doesn't.

@savq
Copy link
Owner

savq commented Nov 25, 2021

I tried the plugin and the error I got was:

nim.nvim: nimsuggest (nimsuggest) cannot be executed: Vim(let):E475: Invalid value for argument cmd: 'nimsuggest' is not executable

nimsuggest doesn't appear in the requirements in the readme…

Right after plugin install there are multiple commands provided by the plugin, but after restarting neovim and looking for commands that start with nim, there are none.

When I open a Nim file, I get three commands: NimDocOf, NimReferences and NimTypeOf. The first two don't seem to do anything, and the third fails with:

nim.nvim: nimsuggest (nimsuggest) cannot be executed: Vim(let):E475: Invalid value for argument cmd: 'nimsuggest' is not executable
Error detected while processing function nim#suggest#def#ShowType[5]..nim#suggest#utils#Query:
line   16:
E716: Key not present in Dictionary: "query"

I'll take another look if alaviss/nim.nvim#44 is resolved.

@savq savq added the wontfix This will not be worked on label Nov 25, 2021
@Cloudperry
Copy link
Author

Thanks for taking a look at this issue. Idk what has changed since then but I don't have this bug anymore. Also nimsuggest isn't listed as a requirement in that plugin because the plugin is meant for Nim developers and assumes you have installed the Nim programming language (and the tools that come with it).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants