Closed mrjones2014 closed 1 year ago
@IndianBoy42 Does this work for you?
at_edge = function(ctx)
if ctx.direction == "left" then
vim.cmd.NvimTreeFocus()
elseif ctx.direction == "right" then
vim.cmd.Trouble()
else
ctx.split()
end
end,
This seems to work great! thanks again
I did notice that the context object doesn't have a wrap() helper, a user might want to fallback to wrapping unlike me right?
Good call. Added.
Fixes #85