diff --git a/home/jonas/static/doom-config/config.el b/home/jonas/static/doom-config/config.el index 49de261..f2125b6 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 - (global-undo-tree-mode) + (add-hook! 'prog-mode #'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"))))