setup flycheck to use best-side-window for displaying errors
parent
6045d40d78
commit
72c0d999b6
@ -1,3 +1,7 @@
|
|||||||
(use-package flycheck
|
(use-package flycheck
|
||||||
:hook
|
: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))))
|
||||||
|
Loading…
Reference in New Issue