- YouCompleteMe Vim plugin was installed
- 'sudo apt-get install build-essential cmake python3-dev'
- 'cd ~/.vim/bundle'
- 'git clone https://github.com/ycm-core/YouCompleteMe.git'
- 'cd YouCompleteMe'
- 'git submodule update --init --recursive'
- './install.py --clang-complete'
- edit '~/.vim/bundle/YouCompleteMe/.ycm_extra_conf.py' to add
def Settings(**kwargs ):
return {
'flags': [ '-x', 'c++', '-Wall', '-Wextra', '-Werror' ],
}
- append the following line to '~/.vimrc'
let g:ycm_global_ycm_extra_conf = '~/.vim/bundle/YouCompleteMe/.ycm_extra_conf.py'