neovim/contrib/YouCompleteMe
Marco Hinz 85b1052c3c Remove all invalid nvimrc and ngvimrc references
"vimrc" refers to all files that are used to configure Neovim. The main
configuration file is init.vim nowadays.

All nvimrc references that are left refer to a local ".nvimrc" which is read
if 'exrc' is set. ".ngvimrc" references were completely wiped.

Closes #3552.
2015-11-11 22:50:14 +01:00
..
README.md Remove all invalid nvimrc and ngvimrc references 2015-11-11 22:50:14 +01:00
ycm_extra_conf.py viminfo: First version of ShaDa file dumping 2015-10-08 21:59:51 +03: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>