Enable and customise org-habit

Fix startup error from treesit-auto
This commit is contained in:
Evie Litherland-Smith 2024-08-16 15:17:33 +01:00
parent e6b11fedd4
commit 8cae6d4ddd

View file

@ -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))