summaryrefslogtreecommitdiff
path: root/emacs-init.org
diff options
context:
space:
mode:
authorfpi2020-06-12 15:03:31 +0200
committerfpi2020-06-12 15:07:57 +0200
commita1e3179d941aa00182f3decfe3fdf7f3172c40d5 (patch)
treeb2bac3ba5bc146a19ad65c65215e0b95bdb64abb /emacs-init.org
parentReduce noise in my agenda by viewing day only (diff)
Add hunspell spellchecker with EN+DE setup
Still have to check for hunspell dictionaries with more entries
Diffstat (limited to 'emacs-init.org')
-rw-r--r--emacs-init.org10
1 files changed, 10 insertions, 0 deletions
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