mirror of
https://github.com/neovim/neovim.git
synced 2025-10-16 23:06:14 +00:00
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:
8
runtime/pack/dist/opt/nvim.undotree/plugin/undotree.lua
vendored
Normal file
8
runtime/pack/dist/opt/nvim.undotree/plugin/undotree.lua
vendored
Normal 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, {})
|
Reference in New Issue
Block a user