Skip to content

Instantly share code, notes, and snippets.

@jefftrull
Created August 12, 2020 01:42
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jefftrull/fc577f994cc613d5f371bad0ca618d26 to your computer and use it in GitHub Desktop.
Save jefftrull/fc577f994cc613d5f371bad0ca618d26 to your computer and use it in GitHub Desktop.
telling clangd where to find my compile_commands.json
(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