summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
authorAlan Pearce2015-01-03 10:16:36 +0000
committerAlan Pearce2015-01-03 10:16:36 +0000
commit35bc57878c8dff67bdd17ddf207a2ba3d5076d3a (patch)
tree7eacfc6828295ca05503d32954989635cec995db /tag-emacs
parent20798ab71a19b73f7e1d178bc2a3a5059e3be7f3 (diff)
downloaddotfiles-35bc57878c8dff67bdd17ddf207a2ba3d5076d3a.tar.lz
dotfiles-35bc57878c8dff67bdd17ddf207a2ba3d5076d3a.tar.zst
dotfiles-35bc57878c8dff67bdd17ddf207a2ba3d5076d3a.zip
Emacs: Install flycheck-pos-tip
Diffstat (limited to 'tag-emacs')
-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)))