Migrate to stamblerre/gocode in YouCompleteMe for Go module support
apt install build-essential cmake python3-dev
git clone --depth 1 https://github.com/Valloric/YouCompleteMe.git
cd /home/jun/.vim/pack/plugins/start/YouCompleteMe
git submodule update --init --recursive
vim /home/jun/.vim/pack/plugins/start/YouCompleteMe/third_party/ycmd/ycmd/completers/go/go_completer.py
mdempsky/gocode
stamblerre/gocode
vim /home/jun/.vim/pack/plugins/start/YouCompleteMe/third_party/ycmd/.gitmodules
mdempsky/gocode
stamblerre/gocode
rm -rf third_party/ycmd/third_party/go/src/github.com/mdempsky/
vim ./third_party/ycmd/build.py
cd third_party/ycmd/third_party/go/src/github.com
mkdir stamblerre
cd stamblerre
git clone --depth 1 https://github.com/stamblerre/gocode.git
cd /home/jun/.vim/pack/plugins/start/YouCompleteMe
./install.py --go-completer
Reference:
https://github.com/Valloric/YouCompleteMe
https://github.com/stamblerre/gocode
Saturday, February 23, 2019
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment