From 6cb42973d60cd68840c514d11f47ce9a8f0229cb Mon Sep 17 00:00:00 2001 From: James Chung Date: Fri, 5 Jul 2024 16:32:47 -0500 Subject: [PATCH] update clangd config --- lua/plugins/lspconfig.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lua/plugins/lspconfig.lua b/lua/plugins/lspconfig.lua index e3fbdc1..7b0ece7 100644 --- a/lua/plugins/lspconfig.lua +++ b/lua/plugins/lspconfig.lua @@ -37,15 +37,15 @@ return { lspconfig.bashls.setup({ capabilities = capabilities, }) - lspconfig.biome.setup({ - capabilities = capabilities, - }) lspconfig.bufls.setup({ capabilities = capabilities, }) lspconfig.clangd.setup({ capabilities = capabilities, - filetypes = { "c", "cpp", "objc", "objcpp", "cuda" }, + on_attach = function(client, bufnr) + vim.opt_local.tabstop = 2 + vim.opt_local.shiftwidth = 2 + end }) lspconfig.docker_compose_language_service.setup({ capabilities = capabilities,