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 :custom
(org-duration-format '((special . h:mm)))) (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 (use-package org-agenda
:after (org appt) :after (org appt)
:bind (("C-c o a" . org-agenda) :bind (("C-c o a" . org-agenda)
@ -1328,8 +1334,7 @@ Configure email with iCalendar event support, to integrate with
:after treesit :after treesit
:functions (treesit-auto-add-to-auto-mode-alist :functions (treesit-auto-add-to-auto-mode-alist
global-treesit-auto-mode) global-treesit-auto-mode)
:init :hook (after-init . (lambda () (global-treesit-auto-mode +1)))
(global-treesit-auto-mode +1)
:config :config
(treesit-auto-add-to-auto-mode-alist)) (treesit-auto-add-to-auto-mode-alist))