use best-side-window for flymake diagnostics buffers
parent
75bd684383
commit
0a6d48010b
@ -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…
Reference in New Issue