mirror of
https://github.com/raimon49/requirements.txt.vim.git
synced 2025-12-06 10:04:23 +08:00
Add document of pip-cache
This commit is contained in:
@@ -12,6 +12,8 @@ endfunction
|
|||||||
" https://github.com/neoclide/coc.nvim/wiki/Create-custom-source
|
" https://github.com/neoclide/coc.nvim/wiki/Create-custom-source
|
||||||
"
|
"
|
||||||
" Completion pip option and PYPI package names.
|
" Completion pip option and PYPI package names.
|
||||||
|
" Note: completion PYPI package names need install pip-cache from PYPI,
|
||||||
|
" and run `pip-cache update` first to generate cache.
|
||||||
function! coc#source#requirements#complete(opt, cb) abort
|
function! coc#source#requirements#complete(opt, cb) abort
|
||||||
call a:cb(g:requirements#items)
|
call a:cb(g:requirements#items)
|
||||||
endfunction
|
endfunction
|
||||||
|
|||||||
Reference in New Issue
Block a user