mirror of
https://github.com/neovim/neovim.git
synced 2025-10-15 22:36:09 +00:00

Problem No builtin way to visualize and navigate the undo-tree. Solution Include an "opt" plugin.
9 lines
187 B
Lua
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, {})
|