diff --git a/after/lsp/clangd.lua b/after/lsp/clangd.lua index 062fb5b..c5041ed 100644 --- a/after/lsp/clangd.lua +++ b/after/lsp/clangd.lua @@ -11,9 +11,6 @@ return { "clangd", "--clang-tidy", "--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, on_attach = function(client, bufnr) @@ -22,7 +19,6 @@ return { Linter.add(bufnr, { cmd = { "clang-tidy", - "-p=build", "--quiet", "--checks=-*," .. "clang-analyzer-*,"