summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franckcuny@gmail.com>2015-11-20 11:58:52 -0800
committerFranck Cuny <franckcuny@gmail.com>2015-11-20 11:58:52 -0800
commit88dda6e28a9831468fabdfd385c3da9a969a002f (patch)
tree9602a72ced35b8c0af3fbbcd17eb2fd5ce7d5f93
parent[git] update gitignore (diff)
downloademacs.d-88dda6e28a9831468fabdfd385c3da9a969a002f.tar.gz
[emacs] add tooltips for flycheck.
-rw-r--r--emacs.d/inits/50_flycheck.el8
1 files changed, 8 insertions, 0 deletions
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)