aboutsummaryrefslogtreecommitdiff
path: root/contrib/YouCompleteMe/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/YouCompleteMe/README.md')
-rw-r--r--contrib/YouCompleteMe/README.md15
1 files changed, 11 insertions, 4 deletions
diff --git a/contrib/YouCompleteMe/README.md b/contrib/YouCompleteMe/README.md
index 85bbe29dec..940f49363b 100644
--- a/contrib/YouCompleteMe/README.md
+++ b/contrib/YouCompleteMe/README.md
@@ -1,4 +1,8 @@
-# YouCompleteMe
+# YouCompleteMe Integration
+
+## What is this?
+
+This provides the necessary to configure vim's YCM plugin to provide C semantic support (completion, go-to-definition, etc) for the neovim project.
## Installation
@@ -9,7 +13,10 @@ Install [YouCompleteMe](https://github.com/Valloric/YouCompleteMe).
### Step 2
```bash
-cp ycm_extra_conf.py ../../src/nvim/.ycm_extra_conf.py
-echo src/nvim/.ycm_extra_conf.py >> ../../.git/info/exclude
-make -C ../.. cmake
+cp contrib/YouCompleteMe/ycm_extra_conf.py src/.ycm_extra_conf.py
+echo .ycm_extra_conf.py >> .git/info/exclude
+make
+
+(somewhere in you .vimrc files)
+autocmd FileType c nnoremap <buffer> <silent> <C-]> :YcmCompleter GoTo<cr>
```