fix: toggleterm on gitbash
This commit is contained in:
@@ -89,7 +89,11 @@ return {
|
||||
'akinsho/toggleterm.nvim',
|
||||
config = function()
|
||||
local Terminal = require('toggleterm.terminal').Terminal
|
||||
local lazygit = Terminal:new({ cmd = "lazygit.exe", hidden = true, direction = 'float'})
|
||||
local lazygit = Terminal:new({
|
||||
cmd = "lazygit",
|
||||
hidden = true,
|
||||
direction = 'float',
|
||||
})
|
||||
|
||||
function _lazygit_toggle()
|
||||
lazygit:toggle()
|
||||
|
||||
Reference in New Issue
Block a user