I've been trying to get autocomplete working for GoLang in NeoVim. When searching, I got brought to deoplete. I'm using dein.vim as a NeoVim package manager. My .vimrc file is set with the following:
if &compatible
set nocompatible " Be iMproved
endif
" Required:
set runtimepath^=/home/tyler/repos/github.com/Shougo/dein.vim
" Required:
call dein#begin(expand('/home/tyler'))
" Let dein manage dein
" Required:
call dein#add('Shougo/dein.vim')
" Add or remove your plugins here:
call dein#add('Shougo/neosnippet.vim')
call dein#add('Shougo/neosnippet-snippets')
call dein#add('Shougo/deoplete.nvim')
" You can specify revision/branch/tag.
call dein#add('Shougo/vimshell', { 'rev': '3787e5' })
" Required:
call dein#end()
" Required:
filetype plugin indent on
" If you want to install not installed plugins on startup.
if dein#check_install()
call dein#install()
endif
let g:deoplete#enable_at_startup = 1
I've done a lot of searching around the various github issues and haven't had any luck yet. To recap, the issue is that I can't seem to get the deoplete NeoVim plugin to autocomplete. Maybe I have a misunderstanding of how this is suppose to work.
:echo has("python3")returning1? If yes, make sure you have donepip3 install neovimand try to point your neovim to both python hosts something likelet g:python_host_prog = '/usr/local/bin/python'andlet g:python3_host_prog = '/usr/local/bin/python3'- Anzel