mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
chore(language/go): add extra flag for golangci-lint langserver
This commit is contained in:
@@ -113,7 +113,9 @@
|
||||
:config
|
||||
;; Create custom lsp-client for golangci-lint-langserver.
|
||||
(lsp-register-custom-settings
|
||||
'(("golangci-lint.command" ["golangci-lint" "run" "--out-format" "json"])))
|
||||
'(("golangci-lint.command" ["golangci-lint" "run"
|
||||
"--out-format" "json"
|
||||
"--issues-exit-code=1"])))
|
||||
(lsp-register-client
|
||||
(make-lsp-client :new-connection (lsp-stdio-connection
|
||||
'("golangci-lint-langserver"))
|
||||
|
||||
Reference in New Issue
Block a user