blob: 95db7ac87344c59a2a34b2533c5391146fa8212e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
;;; mm-spellcheck.el --- Spell checking configuration -*- lexical-binding: t; -*-
;;; ISpell Spell Checking
(use-package ispell
:hook (flyspell-mode . ispell-minor-mode)
:custom
(ispell-program-name "hunspell")
(ispell-local-dictionary "en_US")
(ispell-local-dictionary-alist
'(("en_US" "[[:alpha:]]" "[^[:alpha:]]" "[’']"
nil ("-d" "en_US") nil utf-8)))
(ispell-hunspell-dictionary-alist ispell-local-dictionary-alist))
^L
;;; On-The-Fly Spell Checking
(use-package flyspell
:defer t
:config
;; I use ‘C-,’ for ‘emmet-expand-line’
(keymap-unset flyspell-mode-map "C-," :remove))
(provide 'mm-spellcheck)
|