From b995215b2a2e5642299e9c3d19327fd10f1c2545 Mon Sep 17 00:00:00 2001 From: jao Date: Tue, 17 Feb 2026 12:39:22 +0000 Subject: rust/flycheck/xref buffer handling --- custom/jao-custom-programming.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'custom') 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)))) -- cgit v1.2.3