Mon, 27 Feb 2023 09:54:21 -0600
drop ginit.vim (its not standard for nvim)
1014 | 1 | return { |
2 | "neovim/nvim-lspconfig", | |
3 | {"williamboman/mason.nvim", config = true}, | |
4 | {"j-hui/fidget.nvim", config = true}, | |
5 | ||
6 | { | |
7 | "williamboman/mason-lspconfig.nvim", | |
8 | config = function(plugin, opts) | |
1019 | 9 | require("mason-lspconfig").setup() |
1014 | 10 | require("mason-lspconfig").setup_handlers({ |
11 | function(server) | |
12 | require("lspconfig")[server].setup({}) | |
13 | end, | |
1022 | 14 | gopls = function () |
15 | require("lspconfig").gopls.setup({ | |
16 | settings = { gopls = { gofumpt = true } } | |
17 | }) | |
18 | end | |
1014 | 19 | }) |
20 | end, | |
21 | }, | |
22 | } |