Neovim 0.12 and blink #2123
|
I have a fairly simply setup with neovim 0.12 whereby I have blink as a plugin, installed and as an example, the ruby-lsp. I setup blink using the vim.pack.add() function, and enabled the ruby-lsp with vim.lsp.enable({"ruby-lsp"}) and it seems when I am working on a filetype of ruby, the LSP is working fine. However, I get nothing from blink in terms of completions or snippets. Nothing. Nada. It is like blink is completely blind to my LSP and the fact that I have snippets. I am sure it is something easy to fix, like deleting the whole shebang and going back to LazyVim and Neovim 0.11 but anyway... hoping someone out there has ever succeeded in getting blink.cmp and the new style of neovim 0.12 configs to work with LSP servers. I get completions for lua just fine... but not from blink. Just the standard completions of neovim 0.12. What is the secret sauce to getting blink.cmp working in this case? |
Replies: 1 comment 4 replies
|
Sharing your config would help, did you call |
Oh you're trying to use the built-in package manager as if it's lazy.nvim. The
optsgoes into thesetup({})call and the version can be specified likeversion = vim.version.range('*')in thevim.packcall. You have to add the dependencies viapack.adddirectly,dependenciesdoesn't exist. You should read through the vim.pack docs, they're quite good.