.config/nvim/lua/plugins/lsp.lua

Thu, 23 Feb 2023 13:58:37 -0600

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 23 Feb 2023 13:58:37 -0600
changeset 1049
3f01468ffc32
parent 1044
8b90bfdedd2b
child 1055
ba91fd3b81e1
permissions
-rw-r--r--

Switch to themer jellybeans

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({})
        end,
        gopls = function ()
          require("lspconfig").gopls.setup({
            settings = { gopls = { gofumpt = true } }
          })
        end
      })
    end,
  },
}

mercurial