feat(log): add immutable-ignoring rebase keymaps

Changes add support for rebasing while ignoring immutability constraints with new keymaps (<S-CR>, <S-o>, <S-a>, <S-b>) and update documentation. Refactors rebase handler to accept optional ignore_immut parameter and includes minor comment improvements in buffer and command modules.
This commit is contained in:
NicolasGB
2026-01-06 13:20:19 +01:00
committed by Nicolas GB
parent ca75a50858
commit ba48ed08b5
4 changed files with 59 additions and 12 deletions
+3 -3
View File
@@ -447,9 +447,9 @@ function M.set_cursor(buf, pos, opts)
return
end
-- For terminal buffers, delay to allow rendering to complete
-- Must validate position INSIDE the deferred function for terminal buffers
-- because the buffer content may not be stable yet
-- For terminal buffers, we delay cursor positioning to allow async rendering to complete.
-- The position is validated inside the deferred function because buffer content
-- may not be stable at function call time
if vim.bo[buf].buftype == "terminal" or delay > 0 then
vim.defer_fn(function()
if not vim.api.nvim_buf_is_valid(buf) or not vim.api.nvim_win_is_valid(winid) then