echasnovski / mini.nvim

Library of 40+ independent Lua modules improving overall Neovim (version 0.8 and higher) experience with minimal effort
MIT License
4.45k stars 171 forks source link

[mini.completion] Allow for custom completion sources #946

Closed ndavd closed 4 weeks ago

ndavd commented 4 weeks ago

Contributing guidelines

Module(s)

mini.completion

Description

Not sure how the process looks like internally but would it be possible to allow for extending the completion it offers somehow?

These are the sources I have in nvim-cmp:

  sources = {
    { name = 'nvim_lsp' },
    { name = 'vsnip' },
    { name = 'path' },
    { name = 'treesitter' },
    { name = 'spell' },
  },
echasnovski commented 4 weeks ago

Thanks for the suggestion!

The 'mini.completion' module intentionally has only two-stage completion model (mostly equivalent to having two sources, main and fallback). It is not planned to add more sources.

Closing as not planned.