diff --git a/Cask b/Cask index 4f108e1ad..b1071ea47 100644 --- a/Cask +++ b/Cask @@ -81,6 +81,7 @@ ;; Flycheck --- core/core-flycheck.el (depends-on "flycheck") +(depends-on "flycheck-pos-tip") (depends-on "flycheck-package") (depends-on "flyspell") diff --git a/core/core-flycheck.el b/core/core-flycheck.el index 87e2045f8..5a42fcfe6 100644 --- a/core/core-flycheck.el +++ b/core/core-flycheck.el @@ -8,8 +8,13 @@ flycheck-check-syntax-automatically '(save mode-enabled) flycheck-disabled-checkers '(emacs-lisp emacs-lisp-checkdoc make)) :config - (require 'flycheck-package) - (flycheck-package-setup) + (use-package flycheck-package :config (flycheck-package-setup)) + + (use-package flycheck-pos-tip + :config + (setq flycheck-pos-tip-timeout 10 + flycheck-display-errors-delay 0.5) + (flycheck-pos-tip-mode +1)) (evil-initial-state 'flycheck-error-list-mode 'emacs) (map! (:map flycheck-error-list-mode-map