1
Fork 0
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:
Gunnar Beutner 2022-10-25 21:38:30 +02:00 committed by Linus Groh
parent 83b3403b52
commit 2ef1e7e634
2 changed files with 138 additions and 0 deletions

View 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']
```