Created
August 12, 2020 01:42
-
-
Save jefftrull/fc577f994cc613d5f371bad0ca618d26 to your computer and use it in GitHub Desktop.
telling clangd where to find my compile_commands.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(setq lsp-clients-clangd-args | |
(list (concat "--compile-commands-dir=" | |
(projectile-project-root) | |
"build") | |
"--log=verbose" | |
"-j=1" | |
"--debug" | |
"--clang-tidy" | |
"--background-index"))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment