summaryrefslogtreecommitdiff
path: root/flymake-conf.el
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2021-01-14 01:14:27 +0800
committerJSDurand <mmemmew@gmail.com>2021-01-14 01:14:27 +0800
commite2fe5882ad434b433bfba4529abdd2666d9c3d99 (patch)
tree815816360fb0bae6ad4c237e56c37360c3334893 /flymake-conf.el
parent3666deaed5b0baf0a74f14db5872105c9e7865f9 (diff)
A temporary bug fix
There are more bugs unfortunately.
Diffstat (limited to 'flymake-conf.el')
-rw-r--r--flymake-conf.el14
1 files changed, 14 insertions, 0 deletions
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)