lazy clangd

This commit is contained in:
dlond 2025-05-30 20:32:46 +12:00
parent b317778ed1
commit 5d94528f6e
1 changed files with 2 additions and 0 deletions

View File

@ -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 <leader>lc to manually set location when available.'
vim.notify '[clangd] Setting up with: "."'
table.insert(cmd, '--compile-commands-dir="."')
end
print(vim.inspect(cmd))