blob: 84f0088c1edcea902f504aa17123c9f8ee84ba62 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
;; Start of oni-flycheck
(use-package flycheck
:hook (php-mode
yaml-ts-mode)
:config
(require 'flycheck-posframe)
(mapc (lambda (c) (delq c flycheck-checkers))
'(python-pylint python-pyflakes))
(setq flycheck-highlighting-mode 'columns)
(when (not (eql system-type 'windows-nt))
(setq flycheck-mode-line-prefix "✓"))
(setq flycheck-emacs-args
(append '("--eval" "(package-initialize)")
flycheck-emacs-args))
(flycheck-posframe-configure-pretty-defaults)
(add-hook 'flycheck-mode-hook 'flycheck-cask-setup)
(add-hook 'flycheck-mode-hook 'flycheck-posframe-mode))
(use-package flycheck-posframe)
(use-package flycheck-cask)
(use-package flycheck-phpstan)
;; End of oni-flycheck
|