add clang-tidy and changed tab width from 4 to 2

This commit is contained in:
2025-12-15 07:47:03 +01:00
parent db6a1ac3ea
commit 1c482ecdf7
2 changed files with 6 additions and 5 deletions

View File

@@ -175,7 +175,8 @@ return {
-- })
vim.lsp.config('clangd', {
capabilities = capabilities,
on_attach = lsp_attach
on_attach = lsp_attach,
cmd = { "clangd", '--background-index', '--clang-tidy' }
})
vim.lsp.enable({ 'ts_ls', 'vue_ls', 'clangd' })
end