use best-side-window for flymake diagnostics buffers

master
John Turner 1 year ago
parent 75bd684383
commit 0a6d48010b
No known key found for this signature in database

@ -1,3 +1,7 @@
(use-package flymake (use-package flymake
:hook :hook
(flymake-diagnostics-buffer-mode . visual-line-mode)) (flymake-diagnostics-buffer-mode . visual-line-mode)
:config
(when (require 'best-side-window nil t)
(add-to-list 'display-buffer-alist '((major-mode . flymake-diagonstics-buffer-mode)
best-side-window-display-buffer-in-best-side-window))))

Loading…
Cancel
Save