feat(runtime): undotree #35627

Problem
No builtin way to visualize and navigate the undo-tree.

Solution
Include an "opt" plugin.
This commit is contained in:
altermo
2025-10-07 23:32:22 +02:00
committed by GitHub
parent 3b860653ca
commit 9e1d3f4870
7 changed files with 584 additions and 1 deletions

View File

@@ -0,0 +1,8 @@
if vim.g.loaded_undotree_plugin ~= nil then
return
end
vim.g.loaded_undotree_plugin = true
vim.api.nvim_create_user_command('Undotree', function()
require 'undotree'.open()
end, {})