Files
nvim/lua/conf/plugins/undotree.lua

13 lines
241 B
Lua

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
}