This commit is contained in:
dlond 2025-05-30 03:18:44 +12:00
parent 352054c763
commit 08ff4fe831
1 changed files with 2 additions and 0 deletions

View File

@ -35,6 +35,8 @@ function M.start_clangd(commands_dir)
table.insert(cmd, '--compile_commands-dir=' .. commands_dir)
end
print(vim.inspect(cmd))
lspconfig.clangd.setup {
cmd = cmd,
root_dir = lspconfig.util.root_pattern '.git',