blob: 9cd33707e0ce1d89bd3771abca2c402ae83c29b1 (
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
25
26
27
|
;;; init-writing.el --- Configure things related to writing -*- lexical-binding: t -*-
;; Author: Franck Cuny <franck@fcuny.net>
;;; Commentary:
;; Configure things related to writing
;;; Code:
(require 'init-markdown)
(use-package flyspell
:defer
:hook ((text-mode . flyspell-mode)
(org-mode . flyspell-mode)
(git-commit-mode . flyspell-mode)
(prog-mode . flyspell-prog-mode))
:diminish flyspell-mode
:custom
(ispell-program-name "aspell")
(ispell-silently-savep t)
(ispell-local-dictionary "en_US")
(ispell-extra-args '("--camel-case")))
(provide 'init-writing)
;;; init-writing.el ends here
|