Files
neovim/runtime/pack/dist/opt/nvim.undotree/plugin/undotree.lua
altermo 9e1d3f4870 feat(runtime): undotree #35627
Problem
No builtin way to visualize and navigate the undo-tree.

Solution
Include an "opt" plugin.
2025-10-07 14:32:22 -07:00

9 lines
187 B
Lua

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, {})