diff --git a/packages/flymake.el b/packages/flymake.el index 2639770..cfe2ff7 100644 --- a/packages/flymake.el +++ b/packages/flymake.el @@ -1,3 +1,7 @@ (use-package flymake :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))))