| 12345678910111213 |
- --- @type vim.lsp.ClientConfig
- return {
- cmd = { 'gopls' },
- filetypes = { 'go', 'gomod', 'gowork', 'gotmpl' },
- single_file_support = true,
- settings = {
- gopls = {
- analyses = { unusedparams = true },
- staticcheck = true,
- gofumpt = true
- }
- }
- }
|