aboutsummaryrefslogtreecommitdiff
path: root/doom.d/modules
diff options
context:
space:
mode:
Diffstat (limited to 'doom.d/modules')
-rw-r--r--doom.d/modules/writers.org17
1 files changed, 8 insertions, 9 deletions
diff --git a/doom.d/modules/writers.org b/doom.d/modules/writers.org
index c45a783..825a7b0 100644
--- a/doom.d/modules/writers.org
+++ b/doom.d/modules/writers.org
@@ -15,15 +15,14 @@
Powerthesaurus for thesaurus on writer files
* Spelling checker
#+BEGIN_SRC elisp
-(use-package! flyspell
- :config
- (map!
- :localleader
- :map org-mode-map
- :prefix "w"
- :desc "Correct current word" "c" #'flyspell-correct-at-point
- :desc "Autocorrect word" "a" #'flyspell-auto-correct-word
- :desc "Goto next error" "w" #'flyspell-goto-next-error))
+(map!
+ :after (flyspell org)
+ :localleader
+ :map org-mode-map
+ :prefix "w"
+ :desc "Correct current word" "c" #'flyspell-correct-at-point
+ :desc "Autocorrect word" "a" #'flyspell-auto-correct-word
+ :desc "Goto next error" "w" #'flyspell-goto-next-error)
#+END_SRC
* Org
** Org