tools/flycheck: speed up buffer-wide flyspell checks
This commit is contained in:
parent
67617254bc
commit
7c8badc8fe
1 changed files with 4 additions and 1 deletions
|
@ -44,7 +44,10 @@
|
||||||
|
|
||||||
;;;###package flyspell
|
;;;###package flyspell
|
||||||
(progn ; built-in
|
(progn ; built-in
|
||||||
(setq flyspell-issue-welcome-flag nil)
|
(setq flyspell-issue-welcome-flag nil
|
||||||
|
;; Significantly speeds up flyspell, which would otherwise print
|
||||||
|
;; messages for every word when checking the entire buffer
|
||||||
|
flyspell-issue-message-flag nil)
|
||||||
|
|
||||||
(when (featurep! +prog)
|
(when (featurep! +prog)
|
||||||
(add-hook 'prog-mode-hook #'flyspell-prog-mode))
|
(add-hook 'prog-mode-hook #'flyspell-prog-mode))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue