Skip to content

How to make mini.completion work with nvim runtime completions #248

Answered by echasnovski
craigmac asked this question in Q&A
Discussion options

You must be logged in to vote

First of all, thanks for library = vim.api.nvim_get_runtime_file('', true), line. I didn't update my Lua Lsp setup in a while, mostly because it works and I tend to read Neovim help docs anyway. But replacing my previous workspace.library with this one made it better. Maybe even a bit too much, as it suggests from plugin codebases, so we'll see.

Second, I am not sure what to tell you. I've just reproduced vim.api.nvim autocompletion with your 'lua_ls' setup and plain require('mini.completion').setup(). Let's try to be on the same page:

  • Do you suggestions show if you press <Ctrl> + <Space> (default mapping for triggering two-stage completion)?
  • What does executing :echo &completefunc and :…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@craigmac
Comment options

Answer selected by craigmac
Comment options

You must be logged in to vote
2 replies
@echasnovski
Comment options

@craigmac
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants