emacs add spellchecking

This commit is contained in:
Marco Thomas
2021-06-19 15:43:52 +02:00
parent 5b818d6c99
commit ddc3a464a7
2 changed files with 14 additions and 5 deletions

View File

@@ -85,9 +85,11 @@
(if (executable-find "hunspell")
(use-package ispell
:config
(setq ispell-program-name "hunspell")
(setq ispell-dictionary "de_DE,en_GB,en_US")
(ispell-set-spellchecker-params)
(ispell-hunspell-add-multi-dic "de_DE,en_GB,en_US")
(setq )
:hook
(org-mode . flyspell-mode)
(markdown-mode . flyspell-mode)
@@ -109,6 +111,12 @@
:init (doom-modeline-mode 1)
:custom ((doom-modeline-height 10)))
;; show #RGB color codes
(use-package rainbow-mode
:ensure t
:hook
(prog-mode . rainbow-mode))
;; icons
(use-package all-the-icons
:ensure t)
@@ -227,6 +235,8 @@
"oco" 'org-clock-out
"oa" 'org-agenda
"oca" 'org-capture)
:hook
(org-mode . (lambda () (electric-indent-local-mode -1)))
:config
(setq org-format-latex-options (plist-put org-format-latex-options :scale 1.5))
(setq org-agenda-files (quote ("~/org")))