return { "neovim/nvim-lspconfig", dependencies = { "williamboman/mason.nvim", "williamboman/mason-lspconfig.nvim", }, config = function() require("mason").setup() require("mason-lspconfig").setup({ ensure_installed = { "lua_ls", "clangd", "jedi_language_server", "tsserver", "rust_analyzer", }, handlers = { function(server_name) require("lspconfig")[server_name].setup({}) end } }) end }