home

My NixOS systems configurations.
Log | Files | Refs | LICENSE

commit 49215c55494f5bf3a27f6198b13d6192456a913d
parent 8e62af4608f4ab10e72303d9ae1b646d2b9359fb
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Fri, 28 Jun 2024 11:48:29 +0200

tools/emacs: configure markdown-mode

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Mtools/emacs/config/programming-config.el | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/tools/emacs/config/programming-config.el b/tools/emacs/config/programming-config.el @@ -132,6 +132,13 @@ (if test-name `["-test.run" ,test-name] (error "No test selected"))))))))) +(use-package markdown-mode + :commands (markdown-mode gfm-mode) + :mode (("README\\.md\\'" . gfm-mode) + ("\\.md\\'" . markdown-mode) + ("\\.markdown\\'" . markdown-mode)) + :hook ((markdown-mode . visual-line-mode) + (gfm-mode . visual-line-mode))) ;; (use-package copilot ;; :preface ;; (unless (package-installed-p 'copilot)