diff --git a/init.lua b/init.lua index bbb64816..29f39c87 100644 --- a/init.lua +++ b/init.lua @@ -956,9 +956,6 @@ require('lazy').setup({ -- In normal mode type `sh` then write `lazy.nvim-plugin` -- you can continue same window with `sr` which resumes last telescope search }, { - -- rocks = { - -- enabled = false, - -- }, ui = { -- If you are using a Nerd Font: set icons to an empty table which will use the -- default lazy.nvim defined Nerd Font icons, otherwise define a unicode icons table diff --git a/lua/custom/plugins/lsp/clangd.lua b/lua/custom/plugins/lsp/clangd.lua index 9a014a21..c1f8b038 100644 --- a/lua/custom/plugins/lsp/clangd.lua +++ b/lua/custom/plugins/lsp/clangd.lua @@ -47,12 +47,12 @@ function M.setup_clangd(commands_dir) capabilities = require('blink.cmp').get_lsp_capabilities(), } - for _, bufnr in ipairs(vim.api.nvim_list_bufs()) do - local ft = vim.api.nvim_get_option_value('filetype', { buf = bufnr }) - if vim.tbl_contains(M.clang_filetypes, ft) then - vim.lsp.buf_attach_client(bufnr, vim.lsp.get_clients({ name = 'clangd' })[1].id) - end - end + -- for _, bufnr in ipairs(vim.api.nvim_list_bufs()) do + -- local ft = vim.api.nvim_get_option_value('filetype', { buf = bufnr }) + -- if vim.tbl_contains(M.clang_filetypes, ft) then + -- vim.lsp.buf_attach_client(bufnr, vim.lsp.get_clients({ name = 'clangd' })[1].id) + -- end + -- end end function M.pick_commands_dir()