Emacs: Add hunspell multi-dictionary spell checking
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
(setq scroll-conservatively 1)
|
||||
(setq mouse-wheel-scroll-amount '(5))
|
||||
(setq mouse-wheel-progressive-speed nil)
|
||||
(setq pixel-scroll-precision-mode t)
|
||||
|
||||
;; Parenthesis, set behavior
|
||||
(setq show-paren-delay 0)
|
||||
|
||||
@@ -424,6 +424,13 @@
|
||||
|
||||
;;; Flyspell
|
||||
|
||||
(elpaca nil (setup ispell ; built-in
|
||||
(:when-loaded
|
||||
(setq ispell-program-name "/usr/bin/hunspell")
|
||||
(ispell-set-spellchecker-params)
|
||||
(ispell-hunspell-add-multi-dic "en_US,nl_NL")
|
||||
(setq ispell-dictionary "en_US,nl_NL"))))
|
||||
|
||||
;; Give Flyspell a selection menu.
|
||||
(elpaca-setup flyspell-correct
|
||||
(:load-after flyspell)
|
||||
|
||||
@@ -37,6 +37,7 @@
|
||||
(setq org-adapt-indentation nil)
|
||||
(setq org-ellipsis "⤵")
|
||||
(setq org-image-actual-width nil)
|
||||
(setq org-startup-folded nil)
|
||||
|
||||
;; Enable structured template completion
|
||||
(add-to-list 'org-modules 'org-tempo t)
|
||||
|
||||
Reference in New Issue
Block a user