I have two checkers fast-checker and slow-checker. So I want to use fast-checker with flycheck-check-syntax-automatically '(idle-change) and slow-checker with flycheck-check-syntax-automatically '(save).

Is it possible?

Or at least can I use flycheck-buffer with specific checker? So I could do something like this

(add-hook 'after-save-hook (lambda () (flycheck-buffer `slow-checker)))

No, neither of these are possible, but you can add a :predicate to the slow checker that checks for flycheck-buffer-saved-p to achieve the same effect.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.