mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-23 09:18:51 +02:00
fix(lazygit): allow overriding default terminal options
This commit is contained in:
parent
4796dba8f7
commit
bfe8c608a3
1 changed files with 2 additions and 2 deletions
|
@ -22,10 +22,10 @@ vim.api.nvim_create_autocmd("ColorScheme", {
|
|||
-- Opens lazygit
|
||||
---@param opts? LazyTermOpts | {args?: string[]}
|
||||
function M.open(opts)
|
||||
opts = vim.tbl_deep_extend("force", {}, opts or {}, {
|
||||
opts = vim.tbl_deep_extend("force", {}, {
|
||||
esc_esc = false,
|
||||
ctrl_hjkl = false,
|
||||
})
|
||||
}, opts or {})
|
||||
local cmd = { "lazygit" }
|
||||
if vim.g.lazygit_theme then
|
||||
if M.dirty then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue