;; Start of oni-flycheck (use-package flycheck :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