From 5d94528f6e53aa0159b938231577d8ab182a59cc Mon Sep 17 00:00:00 2001 From: dlond Date: Fri, 30 May 2025 20:32:46 +1200 Subject: [PATCH] lazy clangd --- lua/custom/plugins/lsp/clangd.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lua/custom/plugins/lsp/clangd.lua b/lua/custom/plugins/lsp/clangd.lua index 8daa0aa7..12b34224 100644 --- a/lua/custom/plugins/lsp/clangd.lua +++ b/lua/custom/plugins/lsp/clangd.lua @@ -43,6 +43,8 @@ function M.start_clangd(dir) M.watch_compile_commands(dir) else vim.notify '[clangd] Could not find compile_commands.json.\nUse lc to manually set location when available.' + vim.notify '[clangd] Setting up with: "."' + table.insert(cmd, '--compile-commands-dir="."') end print(vim.inspect(cmd))