Awesome
cmp-pypi
Complete versions of dependencies in pyproject.toml
: supports PEP 621 and Poetry. Works with Neovim and nvim-cmp.
Installation
Requires:
- Neovim >=0.9.0
- curl on your system
- TOML tree-sitter parser (via nvim-treesitter/nvim-treesitter)
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 },
...
}
})