mirror of
https://github.com/neovim/neovim.git
synced 2024-12-29 14:41:06 -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.
23 lines
581 B
Markdown
23 lines
581 B
Markdown
# 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](https://github.com/Valloric/YouCompleteMe).
|
|
|
|
### Step 2
|
|
|
|
```bash
|
|
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>
|
|
```
|