summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
authorAlan Pearce2023-09-09 12:33:50 +0200
committerAlan Pearce2023-09-09 12:33:50 +0200
commit92d3bf79aaaf99f85b6d252fafd8b6cdcf4ff987 (patch)
tree07f040a728747e7d758f2231458bd4187afbb9d3 /user
parentfedce35bc1d2f35d8d95d983768015149e66facd (diff)
downloadnixfiles-92d3bf79aaaf99f85b6d252fafd8b6cdcf4ff987.tar.lz
nixfiles-92d3bf79aaaf99f85b6d252fafd8b6cdcf4ff987.tar.zst
nixfiles-92d3bf79aaaf99f85b6d252fafd8b6cdcf4ff987.zip
Emacs: popup flymake errors at point
Diffstat (limited to 'user')
-rw-r--r--user/emacs/init.el4
-rw-r--r--user/settings/emacs.nix1
2 files changed, 5 insertions, 0 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index cf0fbebd..07e843e6 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -872,6 +872,10 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
   :defer 5
   :config (setq flymake-error-bitmap '(left-vertical-bar compilation-error)
                 flymake-warning-bitmap '(left-vertical-bar compilation-warning)))
+(use-package flymake-popon
+  :after flymake
+  :ghook ('flymake-mode-hook #'flymake-popon-mode))
+
 (use-package flycheck
   :defer t
   :config (progn
diff --git a/user/settings/emacs.nix b/user/settings/emacs.nix
index 5beac84c..41726356 100644
--- a/user/settings/emacs.nix
+++ b/user/settings/emacs.nix
@@ -126,6 +126,7 @@ in
         feature-mode
         format-all
         flycheck
+        flymake-popon
         general
         git-gutter-fringe
         git-modes