Update flyspell mode settings

This commit is contained in:
Maciej 2022-02-09 17:01:55 +02:00
parent 719693bc5b
commit 0a3d9ef245
Signed by: maciej
GPG key ID: 41D62D42D3B0D765
4 changed files with 51 additions and 31 deletions

View file

@ -8,7 +8,7 @@
:config (setq ispell-program-name "aspell")
(setq ispell-extra-args
'("--run-together" "--run-together-limit=5" "--run-together-min=2"))
:hook ((prog-mode text-mode) . flyspell-mode))
:hook ((prog-mode text-mode markdown-mode) . flyspell-mode))
(add-hook 'flyspell-mode-hook (lambda ()
(unbind-key "C-," flyspell-mode-map)
@ -17,5 +17,8 @@
(unbind-key "C-c $" flyspell-mode-map)
(unbind-key "C-M-i" flyspell-mode-map)))
(use-package flyspell-correct :straight t :after flyspell :defer t)
(use-package flyspell-correct-ivy :after flyspell-correct)
(provide '+custom-pkg-ispell)
;;; ispell.el ends here