diff --git a/packages/flycheck.el b/packages/flycheck.el index eb45a3f..f2410ac 100644 --- a/packages/flycheck.el +++ b/packages/flycheck.el @@ -1,3 +1,7 @@ (use-package flycheck :hook - (flycheck-error-list-mode . visual-line-mode)) + (flycheck-error-list-mode . visual-line-mode) + :config + (when (require 'best-side-window nil t) + (add-to-list 'display-buffer-alist '((major-mode . flycheck-error-list-mode) + best-side-window-display-buffer-in-best-side-window))))