mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-27 19:28:59 +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
|
-- Opens lazygit
|
||||||
---@param opts? LazyTermOpts | {args?: string[]}
|
---@param opts? LazyTermOpts | {args?: string[]}
|
||||||
function M.open(opts)
|
function M.open(opts)
|
||||||
opts = vim.tbl_deep_extend("force", {}, opts or {}, {
|
opts = vim.tbl_deep_extend("force", {}, {
|
||||||
esc_esc = false,
|
esc_esc = false,
|
||||||
ctrl_hjkl = false,
|
ctrl_hjkl = false,
|
||||||
})
|
}, opts or {})
|
||||||
local cmd = { "lazygit" }
|
local cmd = { "lazygit" }
|
||||||
if vim.g.lazygit_theme then
|
if vim.g.lazygit_theme then
|
||||||
if M.dirty then
|
if M.dirty then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue