Skip to content

Commit 9fa095e

Browse files
committed
feat: built-in undotree plugin
1 parent 648471c commit 9fa095e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

init.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,9 @@ vim.o.breakindent = true
121121

122122
-- Enable undo/redo changes even after closing and reopening a file
123123
vim.o.undofile = true
124+
-- To open a visual and interactive undo tree, type :Undotree
125+
-- See `:help :Undotree`
126+
vim.schedule(function() vim.cmd.packadd 'nvim.undotree' end)
124127

125128
-- Case-insensitive searching UNLESS \C or one or more capital letters in the search term
126129
vim.o.ignorecase = true

0 commit comments

Comments
 (0)