neovim/contrib/YouCompleteMe
ZyX 244dbe3a77 viminfo: First version of ShaDa file dumping
What works:

1. ShaDa file dumping: header, registers, jump list, history, search patterns,
   substitute strings, variables.
2. ShaDa file reading: registers, global marks, variables.

Most was not tested.

TODO:

1. Merging.
2. Reading history, local marks, jump and buffer lists.
3. Documentation update.
4. Converting some data from &encoding.
5. Safer variant of dumping viminfo (dump to temporary file then rename).
6. Removing old viminfo code (currently masked with `#if 0` in a ShaDa file for
   reference).
2015-10-08 21:59:51 +03:00
..
README.md A few fixes for YCM contrib docs and code 2014-10-21 11:03:11 -03: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 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>