Go deoplete source for gocode and vim-go.
NeoBundle 'zchee/deoplete-go'
# or
Plug 'zchee/deoplete-go'
If you using the gocode, set
let g:deoplete#sources#go = 'gocode'
If you using the vim-go, set
let g:deoplete#sources#go = 'vim-go'
" neocomplete like
" https://github.com/Shougo/deoplete.nvim/blob/master/doc/deoplete.txt#L594-L599
set completeopt+=noinsert
" Disable auto selection
set completeopt+=noselect
" for neovim python-client
let g:python3_host_prog = '/path/to/python3'
" deoplete config
let g:deoplete#enable_at_startup = 1
let g:deoplete#auto_completion_start_length = 0
let g:deoplete#sources#go = 'vim-go'
- Execute
gocode
binary instead of call vim function - Get and parse completion list of json format. such as
ycm
- Support Go stdlib package
import "***"
name completion - Retain the static api text? or parse?
- When there is no candidate infomation, deoplete will cause an error
- Support fizzy matching
- Parse included cgo (C,C++ language) headers
ctags
will be blocking deoplete