neovim/contrib/YouCompleteMe
2016-01-17 20:50:10 -05:00
..
README.md Remove all invalid nvimrc and ngvimrc references 2015-11-11 22:50:14 +01:00
ycm_extra_conf.py Improve YCM contrib: Fix db path 2016-01-17 20:50:10 -05: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 developers working on 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 vimrc)
autocmd FileType c nnoremap <buffer> <silent> <C-]> :YcmCompleter GoTo<cr>