diff options
Diffstat (limited to '')
-rw-r--r-- | config/init-flymake.el | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/config/init-flymake.el b/config/init-flymake.el index 2dc0550..d9ac82c 100644 --- a/config/init-flymake.el +++ b/config/init-flymake.el @@ -7,14 +7,21 @@ ;;; Code: -(require 'flymake) - -(setq flymake-start-on-save-buffer t) -(setq flymake-fringe-indicator-position 'left-fringe) -(setq flymake-suppress-zero-counters t) -(setq flymake-proc-compilation-prevents-syntax-check t) -(setq elisp-flymake-byte-compile-load-path load-path) -(setq flymake-no-changes-timeout 9999) +(use-package flymake + :ensure nil + :defer t + :bind (("C-c f" . flymake-show-buffer-diagnostics) + ("C-c C-p" . flymake-goto-prev-error) + ("C-c C-n" . flymake-goto-next-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) + (elisp-flymake-byte-compile-load-path load-path) + (flymake-no-changes-timeout 9999)) (provide 'init-flymake) |