summaryrefslogtreecommitdiffhomepage
path: root/custom/jao-custom-programming.el
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2026-02-17 12:39:22 +0000
committerjao <jao@gnu.org>2026-02-17 12:39:48 +0000
commitb995215b2a2e5642299e9c3d19327fd10f1c2545 (patch)
tree2dfb0d40a74d37dfd69280755ff5666ce02b029c /custom/jao-custom-programming.el
parentba237643320ab3375e42e0e3ec76ec88c9d21162 (diff)
downloadelibs-b995215b2a2e5642299e9c3d19327fd10f1c2545.tar.gz
elibs-b995215b2a2e5642299e9c3d19327fd10f1c2545.tar.bz2
rust/flycheck/xref buffer handling
Diffstat (limited to 'custom/jao-custom-programming.el')
-rw-r--r--custom/jao-custom-programming.el7
1 files changed, 6 insertions, 1 deletions
diff --git a/custom/jao-custom-programming.el b/custom/jao-custom-programming.el
index 8a324f8..2fd1212 100644
--- a/custom/jao-custom-programming.el
+++ b/custom/jao-custom-programming.el
@@ -108,7 +108,6 @@
:ensure t
:custom ((flymake-mode-line-format '(" " flymake-mode-line-counters)))
:config
- (jao-define-attached-buffer "^\\*Flymake diagnostics .*\\*\\'")
(transient-define-prefix jao-transient-flymake ()
["Flymake"
@@ -118,6 +117,12 @@
("p" "previous error" flymake-goto-prev-error)
("c" "consult flymake" consult-flymake)])
+ (add-to-list 'display-buffer-alist
+ '("^\\*Flymake diagnostics .*\\*\\'"
+ (display-buffer-reuse-window jao-display-below-eldoc)
+ (height . 0.3)
+ (dedicated . t)))
+
:bind (:map flymake-mode-map (("M-m" . jao-transient-flymake)
("M-n" . flymake-goto-next-error)
("M-p" . flymake-goto-prev-error))))