Set proper dependencies for ispell, set default dict to en_GB
This commit is contained in:
parent
d5624414d5
commit
e9624864b2
|
@ -159,29 +159,41 @@
|
||||||
* Spell checking
|
* Spell checking
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
;; turn on spell checking, if available.
|
;; turn on spell checking, if available.
|
||||||
(when (and (require 'ispell nil :noerror) (executable-find ispell-program-name))
|
(use-package ispell
|
||||||
(use-package flyspell
|
:ensure t
|
||||||
:ensure t
|
:diminish
|
||||||
:diminish
|
:custom
|
||||||
:hook ((text-mode . flyspell-mode)
|
(ispell-dictionary "en_GB"))
|
||||||
(prog-mode . flyspell-prog-mode))
|
|
||||||
:custom
|
(use-package flyspell
|
||||||
(flyspell-mode-line-string nil)
|
:ensure t
|
||||||
(flyspell-use-meta-tab nil))
|
:diminish
|
||||||
(use-package flyspell-correct
|
:hook ((text-mode . flyspell-mode)
|
||||||
:ensure t
|
(prog-mode . flyspell-prog-mode))
|
||||||
:diminish
|
:init
|
||||||
:after flyspell
|
(require 'ispell)
|
||||||
:bind ( :map flyspell-mode-map
|
:custom
|
||||||
("C-;" . flyspell-correct-wrapper)))
|
(flyspell-mode-line-string nil)
|
||||||
(use-package consult-flyspell
|
(flyspell-use-meta-tab nil)
|
||||||
:ensure t
|
:config
|
||||||
:diminish
|
(require 'flyspell-correct)
|
||||||
:after (consult flyspell)
|
(require 'consult-flyspell))
|
||||||
:bind ( :map flyspell-mode-map
|
|
||||||
("C-c s ;" . consult-flyspell))
|
(use-package flyspell-correct
|
||||||
:config
|
:ensure t
|
||||||
(setq consult-flyspell-always-check-buffer t)))
|
:diminish
|
||||||
|
:after flyspell
|
||||||
|
:bind ( :map flyspell-mode-map
|
||||||
|
("C-;" . flyspell-correct-wrapper)))
|
||||||
|
|
||||||
|
(use-package consult-flyspell
|
||||||
|
:ensure t
|
||||||
|
:diminish
|
||||||
|
:after (consult flyspell)
|
||||||
|
:bind ( :map flyspell-mode-map
|
||||||
|
("C-c s ;" . consult-flyspell))
|
||||||
|
:config
|
||||||
|
(setq consult-flyspell-always-check-buffer t))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
* ibuffer
|
* ibuffer
|
||||||
|
|
Loading…
Reference in a new issue