nvim: undotree: switched from vim commands to lua function calls
This commit is contained in:
parent
6f1a7b61f5
commit
55391c3fc3
|
@ -1,6 +1,12 @@
|
|||
return {
|
||||
"mbbill/undotree",
|
||||
keys = {
|
||||
{ "<C-u>", "<cmd>UndotreeToggle<cr><cmd>UndotreeFocus<cr>" },
|
||||
{
|
||||
"<C-u>",
|
||||
function()
|
||||
vim.cmd.UndotreeToggle();
|
||||
vim.cmd.UndotreeFocus();
|
||||
end
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue