From 88dda6e28a9831468fabdfd385c3da9a969a002f Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Fri, 20 Nov 2015 11:58:52 -0800 Subject: [emacs] add tooltips for flycheck. --- emacs.d/inits/50_flycheck.el | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'emacs.d/inits') diff --git a/emacs.d/inits/50_flycheck.el b/emacs.d/inits/50_flycheck.el index 345e717..a0823b2 100644 --- a/emacs.d/inits/50_flycheck.el +++ b/emacs.d/inits/50_flycheck.el @@ -21,3 +21,11 @@ :predicate check-source-predicate :modes (python-mode)) (add-to-list 'flycheck-checkers 'source-check))) + +(use-package flycheck-pos-tip + :defer t + :init + (progn + (eval-after-load 'feature-flycheck + '(setq-default flycheck-display-errors-function #'flycheck-pos-tip-error-messages))) + :ensure t) -- cgit 1.4.1