Emacs: Configure more multi dicts.
This commit is contained in:
parent
22da20bf74
commit
9af5bdfbc7
|
@ -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.
|
||||
;; <https://200ok.ch/posts/2020-08-22_setting_up_spell_checking_with_multiple_dictionaries.html>
|
||||
: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
|
||||
|
|
Loading…
Reference in New Issue
Block a user