blob: 199ca06b44466fc92830d270097808bcd5d855e2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
local misc = require('core.misc')
local map = misc.map
return { 'mbbill/undotree',
function()
if vim.g.loaded_undotree then
vim.g.undotree_DiffAutoOpen = 0
end
map("n", "<leader>u", "<cmd>UndotreeToggle<CR>")
end
}
|