Skip to content

YouCompleteMe

njlr edited this page Feb 22, 2019 · 1 revision

Buck (and therefore Buckaroo) can integrate with the YouCompleteMe plugin for Vim.

There is a complete example of how to set this up on GitHub.

Setup

To generate the compile_commands.json file, use the compilation-database flavor:

buck build //:app#compilation-database --out compile_commands.json

The extra flag --out compile_commands.json will tell Buck to copy the database to compile_commands.json.

YouCompleteMe will discover this file automatically.

You should add it your .gitignore since it is a build artefact.

Clone this wiki locally