summary refs log tree commit diff stats
path: root/user/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'user/emacs')
-rw-r--r--user/emacs/init.el11
1 files changed, 11 insertions, 0 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index accc8a5b..948bfa6a 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -942,6 +942,17 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
               :fringe-face 'flycheck-fringe-info
               :info-list-face 'flycheck-error-list-info)))
 
+(use-package flyspell
+  :ghook 'text-mode-hook
+  :hook (prog-mode . flyspell-prog-mode))
+
+(use-package flyspell-correct
+  :after flyspell
+  :general (:states '(normal insert)
+                    "<f8>" #'flyspell-correct-wrapper))
+(use-package flyspell-correct-avy-menu
+  :after flyspell-correct)
+
 (use-package feature-mode
   :config (progn
             (setq feature-cucumber-command "cucumber-js {options} \"{feature}\"")))