summaryrefslogblamecommitdiff
path: root/config/init-flymake.el
blob: d829c3ccba92daacb946b9049d2b262889a48b34 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                                    


                    





                                                         






                                                    

                                                   



                             
;;; init-flymake.el --- Configure flymake -*- lexical-binding: t -*-
;; Author: Franck Cuny <franck@fcuny.net>

;;; Commentary:

;; Configure flymake

;;; Code:

(use-package flymake
  :ensure nil
  :defer t
  :bind (:prefix "C-c !"
		 :prefix-map flymake-prefix-map
		 ("l" . consult-flymake)
                 ("b" . flymake-show-project-diagnostics)
                 ("n" . flymake-goto-next-error)
                 ("p" . flymake-goto-prev-error))
  :hook
  (prog-mode . flymake-mode)
  :custom
  (flymake-start-on-save-buffer t)
  (flymake-fringe-indicator-position 'left-fringe)
  (flymake-suppress-zero-counters t)
  (flymake-proc-compilation-prevents-syntax-check t)
  (flymake-no-changes-timeout 9999)
  (elisp-flymake-byte-compile-load-path load-path))

(provide 'init-flymake)

;;; init-flymake.el ends here