serenity/Documentation/VimConfiguration.md
Gunnar Beutner 2ef1e7e634 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.
2022-10-27 20:52:39 +01:00

13 lines
439 B
Markdown

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