Update README.md
This commit is contained in:
14
README.md
14
README.md
@@ -1287,6 +1287,20 @@ NOTE: `flyspell-mode` can become slow when using Aspell, especially with large b
|
||||
|
||||
To configure **flyspell**, add the following to `~/.emacs.d/post-init.el`:
|
||||
``` emacs-lisp
|
||||
;; The flyspell package is a built-in Emacs minor mode that provides
|
||||
;; on-the-fly spell checking. It highlights misspelled words as you type,
|
||||
;; offering interactive corrections. In text modes, it checks the entire buffer,
|
||||
;; while in programming modes, it typically checks only comments and strings. It
|
||||
;; integrates with external spell checkers like aspell, hunspell, or
|
||||
;; ispell to provide suggestions and corrections.
|
||||
;;
|
||||
;; NOTE: flyspell-mode can become slow when using Aspell, especially with large
|
||||
;; buffers or aggressive suggestion settings like --sug-mode=ultra. This
|
||||
;; slowdown occurs because Flyspell checks words dynamically as you type or
|
||||
;; navigate text, requiring frequent communication between Emacs and the
|
||||
;; external Aspell process. Each check involves sending words to Aspell and
|
||||
;; receiving results, which introduces overhead from process invocation and
|
||||
;; inter-process communication.
|
||||
(use-package ispell
|
||||
:ensure nil
|
||||
:commands (ispell ispell-minor-mode)
|
||||
|
||||
Reference in New Issue
Block a user