This commit is contained in:
Zelong Kuang
2025-05-13 19:37:28 +10:00
commit 9d1536e5af
57 changed files with 5155 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
return {
{
"neovim/nvim-lspconfig",
lazy = true,
ft = { "c", "cpp" },
opts = {
servers = {
clangd = {
cmd = {
"clangd",
"--background-index",
"--clang-tidy",
"--cross-file-rename",
"--clang-tidy-checks=performance-*,cppcoreguidelines-*,clang-analyzer-*,bugprone-*",
"-j=12",
"--all-scopes-completion",
"--header-insertion=iwyu",
"--query-driver=/usr/bin/clang,/usr/bin/clang++",
"--fallback-style=llvm",
},
},
},
},
},
{
"Civitasv/cmake-tools.nvim",
lazy = true,
ft = { "c", "cpp" },
},
}