This commit is contained in:
dlond 2025-05-30 03:22:07 +12:00
parent 08ff4fe831
commit ee0741597f
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ function M.start_clangd(commands_dir)
'--resource-dir=' .. vim.fn.systemlist({ 'clang++', '--print-resource-dir' })[1],
}
if commands_dir then
table.insert(cmd, '--compile_commands-dir=' .. commands_dir)
table.insert(cmd, '--compile-commands-dir=' .. commands_dir)
end
print(vim.inspect(cmd))