summary refs log tree commit diff stats
path: root/tag-emacs/emacs.d
diff options
context:
space:
mode:
Diffstat (limited to 'tag-emacs/emacs.d')
-rw-r--r--tag-emacs/emacs.d/Cask1
-rw-r--r--tag-emacs/emacs.d/init.el5
2 files changed, 6 insertions, 0 deletions
diff --git a/tag-emacs/emacs.d/Cask b/tag-emacs/emacs.d/Cask
index 22b55806..5680246b 100644
--- a/tag-emacs/emacs.d/Cask
+++ b/tag-emacs/emacs.d/Cask
@@ -29,6 +29,7 @@
 (depends-on "fasd")
 (depends-on "feature-mode")
 (depends-on "flycheck")
+(depends-on "flycheck-pos-tip")
 (depends-on "framemove")
 (depends-on "geiser")
 (depends-on "ggtags")
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index 32f273f2..0bc3897f 100644
--- a/tag-emacs/emacs.d/init.el
+++ b/tag-emacs/emacs.d/init.el
@@ -809,6 +809,11 @@ mouse-1: Display Line and Column Mode Menu"))))))
   :diminish " ✓"
   :init (global-flycheck-mode))
 
+(req-package flycheck-pos-tip
+  :require flycheck
+  :init (progn
+          (setq flycheck-display-errors-function #'flycheck-pos-tip-error-messages)))
+
 (req-package go-mode
   :mode (("\\.go\\'" . go-mode)))