Add golangci-lint-langserver for go
This commit is contained in:
@@ -10,6 +10,17 @@ file-types = ["java", "jav", "pde", "painless"]
|
||||
[language-server.rust-analyzer.config.check]
|
||||
command = "clippy"
|
||||
|
||||
[[language]]
|
||||
name = "go"
|
||||
auto-format = true
|
||||
language-servers = [ "gopls", "golangci-lint-lsp" ]
|
||||
|
||||
[language-server.golangci-lint-lsp]
|
||||
command = "golangci-lint-langserver"
|
||||
|
||||
[language-server.golangci-lint-lsp.config]
|
||||
command = ["golangci-lint", "run", "--output.json.path", "stdout", "--show-stats=false", "--issues-exit-code=1"]
|
||||
|
||||
# It is recommended to place the necessary configurations below inside a project's
|
||||
# .helix/languages.toml directory
|
||||
#
|
||||
|
Reference in New Issue
Block a user