From e2fe5882ad434b433bfba4529abdd2666d9c3d99 Mon Sep 17 00:00:00 2001 From: JSDurand Date: Thu, 14 Jan 2021 01:14:27 +0800 Subject: A temporary bug fix There are more bugs unfortunately. --- flymake-conf.el | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 flymake-conf.el (limited to 'flymake-conf.el') diff --git a/flymake-conf.el b/flymake-conf.el new file mode 100644 index 0000000..651aa81 --- /dev/null +++ b/flymake-conf.el @@ -0,0 +1,14 @@ +(require 'flymake) + +(setq flymake-fringe-indicator-position 'left-fringe) +(setq flymake-suppress-zero-counters t) +(setq flymake-start-on-flymake-mode t) +(setq flymake-no-changes-timeout nil) +(setq flymake-start-on-save-buffer t) +(setq flymake-proc-compilation-prevents-syntax-check t) +(setq flymake-wrap-around t) + +(define-key flymake-mode-map (vector ?\C-c ?! ?s) #'flymake-start) +(define-key flymake-mode-map (vector ?\C-c ?! ?d) #'flymake-show-diagnostics-buffer) +(define-key flymake-mode-map (vector ?\C-c ?! ?n) #'flymake-goto-next-error) +(define-key flymake-mode-map (vector ?\C-c ?! ?p) #'flymake-goto-prev-error) -- cgit v1.2.3-18-g5258