Home

Awesome

cmp-pypi

Complete versions of dependencies in pyproject.toml: supports PEP 621 and Poetry. Works with Neovim and nvim-cmp.

preview

Installation

Requires:

Install with Lazy:

{
  "vrslev/cmp-pypi",
  dependencies = { "nvim-lua/plenary.nvim" },
  ft = "toml",
}

And add the source:

cmp.setup({
  ...,
  sources = {
    { name = "pypi", keyword_length = 4 },
    ...
  }
})