diff --git a/init.d/text/common.el b/init.d/text/common.el index 11ada51..22a5905 100644 --- a/init.d/text/common.el +++ b/init.d/text/common.el @@ -1,6 +1,6 @@ ;;; common.el --- Common settings for text files. -*- lexical-binding: t; -*- -;; Time-stamp: <2020-08-22T20:50:31+0200> +;; Time-stamp: <2020-08-22T20:54:31+0200> ;;; Commentary: @@ -86,14 +86,16 @@ ;; spell checking. (use-package ispell :straight nil - ;; Use hunspell with multiple dictionaries if possible. + ;; Use hunspell if possible and configure multiple dictionaries. ;; :config (when (executable-find "hunspell") (customize-set-variable 'ispell-program-name (executable-find "hunspell")) ;; (customize-set-variable 'ispell-dictionary "en_US,de_DE") (ispell-set-spellchecker-params) - (ispell-hunspell-add-multi-dic "en_US,de_DE"))) + (ispell-hunspell-add-multi-dic "en_US,de_DE") + (ispell-hunspell-add-multi-dic "en_GB,de_DE") + (ispell-hunspell-add-multi-dic "de_DE,de_AT,de_CH"))) ;; Interactive spell checking. (unless slow-computer