Browse Source

Emacs: Add hunspell multi-dictionary spell checking

master
Riyyi 1 year ago
parent
commit
9f5ce80255
  1. 1
      .config/emacs/site-lisp/core/dot-core-config.el
  2. 7
      .config/emacs/site-lisp/dot-development.el
  3. 1
      .config/emacs/site-lisp/dot-org-mode.el

1
.config/emacs/site-lisp/core/dot-core-config.el

@ -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)

7
.config/emacs/site-lisp/dot-development.el

@ -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
.config/emacs/site-lisp/dot-org-mode.el

@ -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)

Loading…
Cancel
Save