You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
587 B
EmacsLisp
16 lines
587 B
EmacsLisp
2 years ago
|
(require 'flycheck)
|
||
|
|
||
2 years ago
|
(load "init-flycheck-cargo-has-command-p-fix")
|
||
2 years ago
|
|
||
2 years ago
|
(add-hook 'flycheck-error-list-mode-hook (lambda () (visual-line-mode 1)))
|
||
|
|
||
2 years ago
|
(add-to-list 'display-buffer-alist '("\\*Flycheck errors.*"
|
||
2 years ago
|
(init-display-buffer-best-side)
|
||
2 years ago
|
(which-side . (lambda ()
|
||
2 years ago
|
(if (init-display-buffer-frame-wide-p)
|
||
2 years ago
|
'right
|
||
|
'bottom)))))
|
||
|
|
||
2 years ago
|
|
||
2 years ago
|
(provide 'init-flycheck)
|