summary refs log tree commit diff
path: root/emacs.d/inits/50_flycheck.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs.d/inits/50_flycheck.el')
-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)