diff --git a/lua/custom/plugins/lsp.lua b/lua/custom/plugins/lsp.lua index a5de595c..df0a4317 100644 --- a/lua/custom/plugins/lsp.lua +++ b/lua/custom/plugins/lsp.lua @@ -40,7 +40,7 @@ return { clangd = { cmd = { 'clangd', - '--compile-commands-dir=build', + '--compile-commands-dir=build/debug', '--query-driver=' .. vim.fn.trim(vim.fn.system 'which clang++'), '--resource-dir=' .. vim.fn.trim(vim.fn.system 'clang++ --print-resource-dir'), },