neovim/contrib/YouCompleteMe
2015-03-16 01:48:27 -04:00
..
README.md A few fixes for YCM contrib docs and code 2014-10-21 11:03:11 -03:00
ycm_extra_conf.py contrib: fix YCM completion for header files #2151 2015-03-16 01:48:27 -04:00

YouCompleteMe Integration

What is this?

This provides the code necessary to configure vim's YCM plugin to provide C semantic support (completion, go-to-definition, etc) for the Neovim project.

Installation

Step 1

Install YouCompleteMe.

Step 2

cp contrib/YouCompleteMe/ycm_extra_conf.py src/.ycm_extra_conf.py
echo .ycm_extra_conf.py >> .git/info/exclude
make

(Add the following somewhere in your .nvimrc files)
autocmd FileType c nnoremap <buffer> <silent> <C-]> :YcmCompleter GoTo<cr>