Skip to content

Method not supported with nvim-lspconfig #53

@vanntile

Description

@vanntile

Using nvim-lspconfig and the following configuration, when opening a go file in any project (or after resetting the golangcilint LSP), I get this error log in nvim's console

golangci_lint_ls = {
	filetypes = { "go" },
	init_options = {
		command = {
			"golangci-lint",
			"run",
			"--output.json.path",
			"stdout",
			"--show-stats=false",
			"--issues-exit-code=1",
		},
	},
}
LSP error
{
  code = -32601,
  message = "method not supported: workspace/executeCommand",
  <metatable> = {
    __tostring = <function 1>
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions