Set proper dependencies for ispell, set default dict to en_GB

This commit is contained in:
Evie Litherland-Smith 2024-02-19 12:15:36 +00:00
parent d5624414d5
commit e9624864b2

View file

@ -159,21 +159,33 @@
* Spell checking
#+begin_src emacs-lisp
;; turn on spell checking, if available.
(when (and (require 'ispell nil :noerror) (executable-find ispell-program-name))
(use-package ispell
:ensure t
:diminish
:custom
(ispell-dictionary "en_GB"))
(use-package flyspell
:ensure t
:diminish
:hook ((text-mode . flyspell-mode)
(prog-mode . flyspell-prog-mode))
:init
(require 'ispell)
:custom
(flyspell-mode-line-string nil)
(flyspell-use-meta-tab nil))
(flyspell-use-meta-tab nil)
:config
(require 'flyspell-correct)
(require 'consult-flyspell))
(use-package flyspell-correct
:ensure t
:diminish
:after flyspell
:bind ( :map flyspell-mode-map
("C-;" . flyspell-correct-wrapper)))
(use-package consult-flyspell
:ensure t
:diminish
@ -181,7 +193,7 @@
:bind ( :map flyspell-mode-map
("C-c s ;" . consult-flyspell))
:config
(setq consult-flyspell-always-check-buffer t)))
(setq consult-flyspell-always-check-buffer t))
#+end_src
* ibuffer