Emacs: configure flyspell-correct for spellchecking
Alan Pearce alan@alanpearce.eu
Fri, 14 Oct 2022 12:22:13 +0200
2 files changed, 12 insertions(+), 0 deletions(-)
M user/emacs/init.el → user/emacs/init.el
@@ -942,6 +942,17 @@ :fringe-bitmap 'left-vertical-bar :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}\"")))
M user/settings/emacs.nix → user/settings/emacs.nix
@@ -118,6 +118,7 @@ eyebrowse feature-mode format-all flycheck + flyspell-correct general git-gutter-fringe git-messenger