Thu, 02 Mar 2023 21:15:29 -0600
add bundled languages to avoid errors
return { "neovim/nvim-lspconfig", {"williamboman/mason.nvim", config = true}, {"j-hui/fidget.nvim", config = true}, { "williamboman/mason-lspconfig.nvim", config = function(plugin, opts) require("mason-lspconfig").setup() require("mason-lspconfig").setup_handlers({ function(server) require("lspconfig")[server].setup({ capabilities = require('cmp_nvim_lsp').default_capabilities() }) end, gopls = function () require("lspconfig").gopls.setup({ capabilities = require('cmp_nvim_lsp').default_capabilities(), settings = { gopls = { gofumpt = true } } }) end }) end, }, }