diff --git a/modules/lang/racket/config.el b/modules/lang/racket/config.el index 1e4b8e8e3..853a877d9 100644 --- a/modules/lang/racket/config.el +++ b/modules/lang/racket/config.el @@ -34,7 +34,8 @@ (when (featurep! :checkers syntax) (add-hook! 'racket-xp-mode-hook (defun +racket-disable-flycheck-h () - (flycheck-disable-checker 'racket))))) + (unless (memq 'racket flycheck-disabled-checkers) + (push 'racket flycheck-disabled-checkers)))))) (unless (or (featurep! :editor parinfer) (featurep! :editor lispy))