mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Merge pull request #1983 from gagbo/feature/golang/flycheck_ci-lint
lang/go: add flycheck-golangci-lint
This commit is contained in:
@ -69,3 +69,8 @@
|
||||
:config
|
||||
(set-company-backend! 'go-mode 'company-go)
|
||||
(setq company-go-show-annotation t))
|
||||
|
||||
(use-package! flycheck-golangci-lint
|
||||
:when (featurep! :tools flycheck)
|
||||
:hook (go-mode . flycheck-golangci-lint-setup)
|
||||
:config (setenv "GO111MODULE" "on"))
|
||||
|
Reference in New Issue
Block a user