summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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 22b5580..5680246 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 32f273f..0bc3897 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)))