Emacs: Add hunspell multi-dictionary spell checking

This commit is contained in:
Riyyi
2023-08-10 22:42:38 +02:00
parent 1068ef9502
commit 9f5ce80255
3 changed files with 9 additions and 0 deletions
@@ -30,6 +30,7 @@
(setq scroll-conservatively 1) (setq scroll-conservatively 1)
(setq mouse-wheel-scroll-amount '(5)) (setq mouse-wheel-scroll-amount '(5))
(setq mouse-wheel-progressive-speed nil) (setq mouse-wheel-progressive-speed nil)
(setq pixel-scroll-precision-mode t)
;; Parenthesis, set behavior ;; Parenthesis, set behavior
(setq show-paren-delay 0) (setq show-paren-delay 0)
@@ -424,6 +424,13 @@
;;; Flyspell ;;; 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. ;; Give Flyspell a selection menu.
(elpaca-setup flyspell-correct (elpaca-setup flyspell-correct
(:load-after flyspell) (:load-after flyspell)
+1
View File
@@ -37,6 +37,7 @@
(setq org-adapt-indentation nil) (setq org-adapt-indentation nil)
(setq org-ellipsis "") (setq org-ellipsis "")
(setq org-image-actual-width nil) (setq org-image-actual-width nil)
(setq org-startup-folded nil)
;; Enable structured template completion ;; Enable structured template completion
(add-to-list 'org-modules 'org-tempo t) (add-to-list 'org-modules 'org-tempo t)