aboutsummaryrefslogtreecommitdiff
path: root/emacs/init.el
diff options
context:
space:
mode:
authorHenry Webster <hwebs@hwebs.info>2026-07-22 22:27:45 -0500
committerHenry Webster <hwebs@hwebs.info>2026-07-22 22:27:45 -0500
commit9595c578fd55cc5d06682b7fccd8ea9a4797d206 (patch)
treeb54966bd470032e0f10041e830b7b3b5c3a08326 /emacs/init.el
parentf77cde95e7e33e849e19390b210bd374d21ffd22 (diff)
add markdown mode and spell-checking
Diffstat (limited to 'emacs/init.el')
-rw-r--r--emacs/init.el9
1 files changed, 9 insertions, 0 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 1d467d7..35689e7 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -52,6 +52,11 @@
(use-package geiser-guile)
+(use-package markdown-mode
+ :ensure t
+ :mode ("\\.md\\'" . gfm-mode)
+ :hook (markdown-mode . flyspell-mode))
+
(use-package nix-ts-mode
:mode "\\.nix\\'")
@@ -60,5 +65,9 @@
(add-hook 'scheme-mode-hook #'electric-pair-local-mode)
+(setq ispell-program-name "aspell"
+ ispell-dictionary "en_US")
+(add-hook 'markdown-mode-hook #'flyspell-mode)
+
(use-package magit
:bind ("C-x g" . magit-status))