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

@ -14,7 +14,8 @@
(add-to-list 'auto-mode-alist '("\\.jl\\'" . ess-julia-mode)))
:config
(setq ess-offset-continued 'straight
ess-use-flymake (not (modulep! :checkers syntax))
ess-use-flymake (or (not (modulep! :checkers syntax))
(modulep! :checkers syntax +flymake))
ess-nuke-trailing-whitespace-p t
ess-style 'DEFAULT
ess-history-directory (expand-file-name "ess-history/" doom-cache-dir))
@ -104,6 +105,7 @@
:hook (stan-mode . company-stan-setup))
(use-package! flycheck-stan
:when (modulep! :checkers syntax)
:when (and (modulep! :checkers syntax)
(not (modulep! :checkers syntax +flymake)))
:hook (stan-mode . flycheck-stan-stanc2-setup)
:hook (stan-mode . flycheck-stan-stanc3-setup)))