kickstart.nvim/lua/custom/plugins/undotree.lua

9 lines
229 B
Lua

return {
'jiaoshijie/undotree',
dependencies = 'nvim-lua/plenary.nvim',
config = true,
keys = { -- load the plugin only when using it's keybinding:
{ '<leader>u', "<cmd>lua require('undotree').toggle()<cr>" },
},
}