diff options
author | Franck Cuny <franck@fcuny.net> | 2024-04-06 11:40:04 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2024-04-06 11:40:04 -0700 |
commit | 5a8dfa7b627362cc4fc0a13f124cd1d32773d4ea (patch) | |
tree | 1029ff6eefd2334ef86e554d7cab949bf9c4525e | |
parent | add breadcrumb (diff) | |
download | emacs.d-5a8dfa7b627362cc4fc0a13f124cd1d32773d4ea.tar.gz |
configure bindings for flymake
-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) |