return { "neovim/nvim-lspconfig", dependencies = { "williamboman/mason.nvim", -- install lsp's "williamboman/mason-lspconfig.nvim", }, config = function() require("mason").setup() require("mason-lspconfig").setup { automatic_installation = true } local lspconfig = require("lspconfig") lspconfig.pylsp.setup { autostart = false, capabilities = require("cmp_nvim_lsp").default_capabilities() } end }