mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 18:55:14 -07:00
85b1052c3c
"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. |
||
---|---|---|
.. | ||
README.md | ||
ycm_extra_conf.py |
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>