mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 15:27:35 +00:00
Meta: Add configuration file for YouCompleteMe
YouCompleteMe is a plugin for Vim which provides code-completion functionality. This change adds a configuration file which makes YouCompleteMe aware of which compile flags to use with clangd.
This commit is contained in:
parent
83b3403b52
commit
2ef1e7e634
2 changed files with 138 additions and 0 deletions
12
Documentation/VimConfiguration.md
Normal file
12
Documentation/VimConfiguration.md
Normal file
|
@ -0,0 +1,12 @@
|
|||
# Vim Project Configuration
|
||||
|
||||
Vim can be configured to use the [YouCompleteMe](https://github.com/ycm-core/YouCompleteMe)
|
||||
plugin to provide code-completion.
|
||||
|
||||
Once you've installed the YouCompleteMe plugin you should whitelist the
|
||||
configuration file that is part of the SerenityOS repository. You can
|
||||
do this by adding the following option to your `.vimrc` file:
|
||||
|
||||
```vim
|
||||
let g:ycm_extra_conf_globlist = ['~/serenity/.ycm_extra_conf.py']
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue