From bfe8c608a33255511fa3e79bf77fd7257022a525 Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Tue, 26 Mar 2024 13:42:53 +0100 Subject: [PATCH] fix(lazygit): allow overriding default terminal options --- lua/lazyvim/util/lazygit.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/lazyvim/util/lazygit.lua b/lua/lazyvim/util/lazygit.lua index 031c6124..9da4d674 100644 --- a/lua/lazyvim/util/lazygit.lua +++ b/lua/lazyvim/util/lazygit.lua @@ -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