Add flyspell defaults

This commit is contained in:
James Cherti
2025-02-18 15:16:48 -05:00
parent 63dc725ea0
commit 4e4d6844d8
2 changed files with 15 additions and 0 deletions

View File

@@ -794,6 +794,9 @@ And [add the elpaca bootstrap code](https://github.com/progfolio/elpaca?tab=read
;; expression for a cleaner display. ;; expression for a cleaner display.
(add-hook 'dired-mode-hook #'dired-hide-details-mode) (add-hook 'dired-mode-hook #'dired-hide-details-mode)
(add-hook 'dired-mode-hook #'dired-omit-mode) (add-hook 'dired-mode-hook #'dired-omit-mode)
;; Toggle on-the-fly spell checking (Flyspell mode).
(add-hook text-mode-hook #'flyspell-mode)
``` ```
It is also recommended to read the following articles: It is also recommended to read the following articles:

12
init.el
View File

@@ -507,10 +507,22 @@
;; `fido-vertical-mode' ;; `fido-vertical-mode'
(setq icomplete-compute-delay 0.01) (setq icomplete-compute-delay 0.01)
;;; flyspell
(setq flyspell-issue-welcome-flag nil)
;; Greatly improves flyspell performance by preventing messages from being
;; displayed for each word when checking the entire buffer.
(setq flyspell-issue-message-flag nil)
;;; ispell
;; In Emacs 30 and newer, disable Ispell completion to avoid annotation errors ;; In Emacs 30 and newer, disable Ispell completion to avoid annotation errors
;; when no `ispell' dictionary is set. ;; when no `ispell' dictionary is set.
(setq text-mode-ispell-word-completion nil) (setq text-mode-ispell-word-completion nil)
(setq ispell-silently-savep t)
;;; ibuffer ;;; ibuffer
(setq ibuffer-formats (setq ibuffer-formats