summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
authorAlan Pearce2023-03-06 19:01:52 +0100
committerAlan Pearce2023-03-06 21:14:16 +0100
commit1020410102c4747c7f738590a36dc0cc01bdc2fa (patch)
tree054e581fc08f02f641a4a558cfa54891301c31bd /user
parent8604302bf1e66b6d61a15717dc3d498de1c7ca22 (diff)
downloadnixfiles-1020410102c4747c7f738590a36dc0cc01bdc2fa.tar.lz
nixfiles-1020410102c4747c7f738590a36dc0cc01bdc2fa.tar.zst
nixfiles-1020410102c4747c7f738590a36dc0cc01bdc2fa.zip
Emacs: install missing flyspell-correct subpackage
Diffstat (limited to 'user')
-rw-r--r--user/emacs/init.el4
-rw-r--r--user/settings/emacs.nix1
2 files changed, 4 insertions, 1 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index ff62da8c..54e1222f 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -954,7 +954,9 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
   :general (:states '(normal insert)
                     "<f8>" #'flyspell-correct-wrapper))
 (use-package flyspell-correct-avy-menu
-  :after flyspell-correct)
+  :after flyspell-correct
+  :init (progn
+          (setq flyspell-correct-interface #'flyspell-correct-avy-menu)))
 
 (use-package feature-mode
   :config (progn
diff --git a/user/settings/emacs.nix b/user/settings/emacs.nix
index 5576ee7b..f92366cb 100644
--- a/user/settings/emacs.nix
+++ b/user/settings/emacs.nix
@@ -123,6 +123,7 @@ in {
         format-all
         flycheck
         flyspell-correct
+        flyspell-correct-avy-menu
         general
         git-gutter-fringe
         git-messenger