tweak(syntax): feat gate flycheck in all modules

This commit is contained in:
Jeetaditya Chatterjee 2022-08-17 01:16:08 +01:00
parent b957142e3e
commit 4696f0d4ce
No known key found for this signature in database
GPG key ID: 4A1E5568BA34D124
40 changed files with 86 additions and 45 deletions

View file

@ -78,5 +78,6 @@
(setq company-go-show-annotation t))
(use-package! flycheck-golangci-lint
:when (modulep! :checkers syntax)
:when (and (modulep! :checkers syntax)
(not (modulep! :checkers syntax +flymake)))
:hook (go-mode . flycheck-golangci-lint-setup))

View file

@ -11,5 +11,6 @@
(when (modulep! :completion company)
(package! company-go :pin "31948b463f2fc18f8801e5a8fe511fef300eb3dd"))
(when (modulep! :checkers syntax)
(when (and (modulep! :checkers syntax)
(not (modulep! :checkers syntax +flymake)))
(package! flycheck-golangci-lint :pin "8e446c68311048f0b87febf8ef0379e29d358851"))