217 current 2024-03-19 12:05:10 24.05.20240316.c75037b 6.8.0-zen1 *
This commit is contained in:
parent
1cc688b6c3
commit
f5807ded16
1 changed files with 7 additions and 6 deletions
|
|
@ -298,14 +298,15 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
extraConfigLua = ''
|
extraConfigLua = ''
|
||||||
local Terminal = require('toggleterm.terminal').Terminal
|
local Terminal = require('toggleterm.terminal').Terminal
|
||||||
local lazygit = Terminal:new({ cmd = "lazygit", hidden = true, direction = "float" })
|
local lazygit = Terminal:new({ cmd = "lazygit", hidden = true, direction = "float" })
|
||||||
|
|
||||||
vim.g.base46_cache = vim.fn.stdpath('data') .. '/base46_cache/'
|
vim.g.base46_cache = vim.fn.stdpath('data') .. '/base46_cache/'
|
||||||
|
package.path = package.path .. ";" .. projectRoot .. "/?.lua"
|
||||||
|
|
||||||
function _lazygit_toggle()
|
function _lazygit_toggle()
|
||||||
lazygit:toggle()
|
lazygit:toggle()
|
||||||
end
|
end
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue