fix(editor): disable undo-tree in terminal buffers

This commit is contained in:
2021-05-24 19:11:12 +01:00
parent a07cc6746f
commit 263400c4c1

View File

@@ -26,6 +26,7 @@
;; than undo-tree's auto-save feature which randomly fails to restore history
;; for no obvious reason.
(undo-tree-auto-save-history nil)
(undo-tree-incompatible-major-modes '(term-mode vterm-mode))
:config
(global-undo-tree-mode)