From 7689ad53ba35f4e5873ef3f2327e49e2580f0ce1 Mon Sep 17 00:00:00 2001 From: abeldekat <58370433+abeldekat@users.noreply.github.com> Date: Wed, 11 Nov 2026 20:09:11 +0100 Subject: [PATCH] fix(align): react to Nightly changes regarding hit-enter prompt Details: - See PR 42793 in neovim/neovim --- lua/mini/align.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lua/mini/align.lua b/lua/mini/align.lua index d64a358d..937a6911 100644 --- a/lua/mini/align.lua +++ b/lua/mini/align.lua @@ -782,7 +782,10 @@ MiniAlign.align_user = function(mode) end -- Stop preview after `` (confirmation) - if with_preview and id == '\r' then break end + if with_preview and id == '\r' then + if vim.fn.has('nvim-0.13') == 1 then H.unecho() end + break + end -- Apply modifier local mod = modifiers[id]