From 8f6e311fb7eea04d0e73e97bf9ab20eb539a1792 Mon Sep 17 00:00:00 2001 From: Oscar Wallberg Date: Tue, 23 Sep 2025 11:35:51 +0200 Subject: [PATCH] fix(clangd): update clang-tidy checks --- lua/ow/lsp.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lua/ow/lsp.lua b/lua/ow/lsp.lua index 1345999..773c8f6 100644 --- a/lua/ow/lsp.lua +++ b/lua/ow/lsp.lua @@ -169,7 +169,10 @@ function M.setup() "clang-tidy", "-p=build", "--quiet", - "--checks=-*,clang-analyzer-*", + "--checks=-*," + .. "clang-analyzer-*," + .. "-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling," + .. "-clang-analyzer-security.insecureAPI.strcpy", "%file%", }, events = { "BufWritePost" },