Open xigoi opened 2 years ago
Thanks for this. I've been having issues with autocompletion recently. Do you happen to have this working with neovim 0.7.2 and nim 1.7.1? The candidates
parameter is always empty in that callback. If not, do you remember which version of neovim/nim you had this working with?
Thanks for this. I've been having issues with autocompletion recently. Do you happen to have this working with neovim 0.7.2 and nim 1.7.1? The
candidates
parameter is always empty in that callback. If not, do you remember which version of neovim/nim you had this working with?
I'm using Neovim 0.7.2 and Nim 1.6.6 and the completion works, it's just very slow (just as the rest of nim.nvim). I haven't tried Nim 1.7, but I don't see why that would break it.
I see, thanks! It must be something in my config then, or the fact that I'm on windows. Are you running it on Linux? Thanks again!
Yes, I'm on GNU+Linux. Also tried it in Termux on Android.
I'm getting (fixed) also null-ls info lists unknown source unless you add Unknown function: nim#suggest#sug#GetAllCandidates
name = "nim"
to the config.
I managed to set up nim.nvim as a source for null-ls, which allows it to be used with any completion engine that supports LSP. Here's the code:
Simply put this in a Lua file and then
require
the file in the list of sources.