summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2015-01-03 10:16:36 +0000
committerAlan Pearce2015-01-03 10:16:36 +0000
commit35bc57878c8dff67bdd17ddf207a2ba3d5076d3a (patch)
tree7eacfc6828295ca05503d32954989635cec995db
parent20798ab71a19b73f7e1d178bc2a3a5059e3be7f3 (diff)
downloadnixfiles-35bc57878c8dff67bdd17ddf207a2ba3d5076d3a.tar.lz
nixfiles-35bc57878c8dff67bdd17ddf207a2ba3d5076d3a.tar.zst
nixfiles-35bc57878c8dff67bdd17ddf207a2ba3d5076d3a.zip
Emacs: Install flycheck-pos-tip
-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)))