From a1e3179d941aa00182f3decfe3fdf7f3172c40d5 Mon Sep 17 00:00:00 2001 From: fpi Date: Fri, 12 Jun 2020 15:03:31 +0200 Subject: Add hunspell spellchecker with EN+DE setup Still have to check for hunspell dictionaries with more entries --- emacs-init.org | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/emacs-init.org b/emacs-init.org index 15a65fa..645d315 100644 --- a/emacs-init.org +++ b/emacs-init.org @@ -3300,6 +3300,16 @@ For now I use this bad code. (lambda () (define-key gnus-summary-mode-map (kbd ";") 'bbdb-mua-edit-field))) #+end_src +** Spellcheck +#+begin_src emacs-lisp +(use-package ispell + :config + (setq ispell-program-name "/usr/bin/hunspell") + (setq ispell-dictionary "en_US,de_DE") + (ispell-set-spellchecker-params) + (ispell-hunspell-add-multi-dic "en_US,de_DE") + ) +#+end_src ** Compile Fix ansi colors in compile buffers. From [[https://endlessparentheses.com/ansi-colors-in-the-compilation-buffer-output.html][endlessparentheses]]. #+begin_src emacs-lisp -- cgit v1.2.3