~patrickpichler/dotfiles

a03e06136d6eaa9d9a3387ad0dc0b02ad15816fb — Patrick Pichler 2 months ago 40be9c8
[nvim] Add golang lsp config

Coc now also has a golang lsp configured. In order to use it, `gopls`
has to be installed.
1 files changed, 15 insertions(+), 0 deletions(-)

M .config/nvim/coc-settings.json
M .config/nvim/coc-settings.json => .config/nvim/coc-settings.json +15 -0
@@ 118,6 118,21 @@
      "filetypes": [
        "zig"
      ]
    },
    "golang": {
      "command": "gopls",
      "rootPatterns": [
        "go.mod",
        ".vim/",
        ".git/",
        ".hg/"
      ],
      "filetypes": [
        "go"
      ],
      "initializationOptions": {
        "usePlaceholders": true
      }
    }
  },
  "java.errors.incompleteClasspath.severity": "ignore",