blob: 3bcd17cc73feb942ec1f11fd6b2bdac305727642 (
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
28
29
30
|
(eval-when-compile
(require 'use-package))
(use-package ispell
:ensure t
:config
(when (executable-find "aspell")
(setq ispell-program-name "aspell"
ispell-list-command "--list")))
(use-package flyspell-correct
:ensure t)
(use-package flyspell
:ensure t
:hook ((text-mode-hook . flyspell-mode)
(prog-mode-hook . flyspell-prog-mode)))
(use-package markdown-mode
:ensure t
:after (flyspell)
:mode (("\\.md\\'" . gfm-mode)
("\\.markdown\\'" . gfm-mode))
:hook (markdown-mode . flyspell-mode)
:init (setq markdown-command "pandoc -f markdown_github -c https://goo.gl/OVmlwT --self-contained"
markdown-header-scaling 't)
:config
(add-hook 'gfm-mode-hook 'visual-line-mode))
(provide 'fcuny-text)
|