Wed, 01 Mar 2023 03:31:16 -0500
Pretty sig help
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) | |
1055
ba91fd3b81e1
completion fixes, but leave omni off
Meredith Howard <mhoward@roomag.org>
parents:
1044
diff
changeset
|
12 | require("lspconfig")[server].setup({ |
ba91fd3b81e1
completion fixes, but leave omni off
Meredith Howard <mhoward@roomag.org>
parents:
1044
diff
changeset
|
13 | capabilities = require('cmp_nvim_lsp').default_capabilities() |
ba91fd3b81e1
completion fixes, but leave omni off
Meredith Howard <mhoward@roomag.org>
parents:
1044
diff
changeset
|
14 | }) |
1014 | 15 | end, |
1022 | 16 | gopls = function () |
17 | require("lspconfig").gopls.setup({ | |
1055
ba91fd3b81e1
completion fixes, but leave omni off
Meredith Howard <mhoward@roomag.org>
parents:
1044
diff
changeset
|
18 | capabilities = require('cmp_nvim_lsp').default_capabilities(), |
1022 | 19 | settings = { gopls = { gofumpt = true } } |
20 | }) | |
21 | end | |
1014 | 22 | }) |
23 | end, | |
24 | }, | |
25 | } |