fix(clangd): use compilation database for all files opened

This commit is contained in:
2024-10-08 19:39:01 +02:00
parent cea034bd82
commit 30e0e768c4
+4
View File
@@ -22,6 +22,10 @@ return {
"clangd", "clangd",
"--clang-tidy", "--clang-tidy",
"--enable-config", "--enable-config",
-- Fix for errors in files outside of project
-- https://clangd.llvm.org/faq#how-do-i-fix-errors-i-get-when-opening-headers-outside-of-my-project-directory
"--compile-commands-dir=build",
}, },
single_file_support = true, single_file_support = true,
}, },