fix(clangd): update config

This commit is contained in:
2026-02-28 09:50:50 +01:00
parent 997c6198a3
commit 22581da1ee
-4
View File
@@ -11,9 +11,6 @@ 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,
on_attach = function(client, bufnr) on_attach = function(client, bufnr)
@@ -22,7 +19,6 @@ return {
Linter.add(bufnr, { Linter.add(bufnr, {
cmd = { cmd = {
"clang-tidy", "clang-tidy",
"-p=build",
"--quiet", "--quiet",
"--checks=-*," "--checks=-*,"
.. "clang-analyzer-*," .. "clang-analyzer-*,"