diff --git a/home/jonas/static/doom-config/config.el b/home/jonas/static/doom-config/config.el index f2125b6..bcbf70f 100644 --- a/home/jonas/static/doom-config/config.el +++ b/home/jonas/static/doom-config/config.el @@ -102,7 +102,7 @@ ("C-" . 'copilot-accept-completion-by-word))) (after! undo-tree - (add-hook! 'prog-mode #'undo-tree-mode) + (add-hook! 'prog-mode-hook #'undo-tree-mode) (setq undo-tree-auto-save-history t) (setq undo-tree-enable-undo-in-region nil) (setq undo-tree-history-directory-alist '(("." . "~/.cache/doom/undo"))))