fix: removes deprecated code in favor of new code

This commit is contained in:
Tyler Marshall 2025-10-14 08:55:14 -07:00
parent 3338d39206
commit 0d7aa26449
1 changed files with 2 additions and 1 deletions

View File

@ -729,7 +729,8 @@ require('lazy').setup({
-- by the server configuration above. Useful when disabling -- by the server configuration above. Useful when disabling
-- certain features of an LSP (for example, turning off formatting for ts_ls) -- certain features of an LSP (for example, turning off formatting for ts_ls)
server.capabilities = vim.tbl_deep_extend('force', {}, capabilities, server.capabilities or {}) server.capabilities = vim.tbl_deep_extend('force', {}, capabilities, server.capabilities or {})
require('lspconfig')[server_name].setup(server) vim.lsp.config(server_name, server)
vim.lsp.enable(server_name)
end, end,
}, },
} }