From 6a4dc52230170c356cfbef5d9b023d64b2b26298 Mon Sep 17 00:00:00 2001 From: tastytea Date: Tue, 27 Jul 2021 21:04:51 +0200 Subject: [PATCH] Add hl-todo-mode to adoc-mode. --- init.d/text/misc.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/init.d/text/misc.el b/init.d/text/misc.el index 07842c6..5e1f4c2 100644 --- a/init.d/text/misc.el +++ b/init.d/text/misc.el @@ -45,6 +45,7 @@ :mode ("\\.[Cc][Ss][Vv]$" . csv-mode)) (use-package adoc-mode + :after (hl-todo) :custom-face ;; Style headers. (markup-title-0-face ((t (:inherit markup-gen-face :height 1.4 @@ -74,7 +75,8 @@ (adoc-mode . (lambda () ; Automatically update date. (setq-local time-stamp-pattern "8/:[dD][aA][tT][eE]: +%Y-%02m-%02d\n"))) - (adoc-mode . yas-minor-mode))) ; Enable yasnippets. + (adoc-mode . yas-minor-mode) + (adoc-mode . hl-todo-mode))) (use-package markdown-mode :after (hl-line)