# install ycm
linux:
$ sudo apt install vim-youcompleteme
$ vim-addon-manager install youcompleteme
% brew install youcompleteme
maybe:
% cd .vim/bundle/youcompleteme
% cd .vim/bundle/youcompleteme
% python3 ~/.vim/bundle/youcompleteme/third_party/ycmd/build.py --all --verbose
(or just --go-completer)
# install vundle
% git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
% cat .vimrc
set nocompatible " be iMproved, required
filetype off " required
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'valloric/youcompleteme'
Plugin 'fatih/vim-go'
call vundle#end() " required
filetype plugin indent on " required
% cat .vimrc
set nocompatible " be iMproved, required
filetype off " required
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'valloric/youcompleteme'
Plugin 'fatih/vim-go'
call vundle#end() " required
filetype plugin indent on " required
% vim
:PluginInstall
:GoInstallBinaries
No comments:
Post a Comment