From 8cae6d4ddd873724d89c3d58c3529e91dfdc8907 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Fri, 16 Aug 2024 15:17:33 +0100 Subject: [PATCH] Enable and customise org-habit Fix startup error from treesit-auto --- README.org | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.org b/README.org index 543bb5e..2854368 100644 --- a/README.org +++ b/README.org @@ -1001,6 +1001,12 @@ Configure email with iCalendar event support, to integrate with :custom (org-duration-format '((special . h:mm)))) + (use-package org-habit + :after org + :custom + (org-habit-show-habits t) + (org-habit-show-habits-only-for-today t)) + (use-package org-agenda :after (org appt) :bind (("C-c o a" . org-agenda) @@ -1328,8 +1334,7 @@ Configure email with iCalendar event support, to integrate with :after treesit :functions (treesit-auto-add-to-auto-mode-alist global-treesit-auto-mode) - :init - (global-treesit-auto-mode +1) + :hook (after-init . (lambda () (global-treesit-auto-mode +1))) :config (treesit-auto-add-to-auto-mode-alist))