correct starting dir in gitui float

master
Jordan Orelli 1 year ago
parent 67c785144f
commit cf680f89bc

@ -1,6 +1,8 @@
local Terminal = require('toggleterm.terminal').Terminal local Terminal = require('toggleterm.terminal').Terminal
local gitui = Terminal:new({ local gitui = Terminal:new({
cmd = "gitui", cmd = "gitui",
dir = vim.fn.expand('%p'),
direction = "float", direction = "float",
hidden = true, hidden = true,
close_on_exit = true, close_on_exit = true,

Loading…
Cancel
Save