Compare commits

..

1 Commits

View File

@ -719,8 +719,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)
config.capabilities = vim.tbl_deep_extend('force', {}, capabilities, config.capabilities or {}) config.capabilities = vim.tbl_deep_extend('force', {}, capabilities, config.capabilities or {})
vim.lsp.config(server, config) vim.lsp.config(name, config)
vim.lsp.enable(server) vim.lsp.enable(name)
end end
else else
-- For Neovim 0.10 and below, use mason-lspconfig for setup -- For Neovim 0.10 and below, use mason-lspconfig for setup