summaryrefslogtreecommitdiffstatshomepage
path: root/runtime/lua/vim/_editor.lua
diff options
context:
space:
mode:
authorluukvbaal <luukvbaal@gmail.com>2025-06-06 16:45:30 +0200
committerGitHub <noreply@github.com>2025-06-06 16:45:30 +0200
commitbf1d4e9793fcad74085ff6c32a6da5c43fe891e3 (patch)
treee6f5a44adfd825e2cdbdb5aecef868f10c3ffc8d /runtime/lua/vim/_editor.lua
parent3b6084ddf4f0d49fb0e5d135919c9daacea2a46d (diff)
fix(messages): capture execute("messages") with ext_messages (#34342)
Problem: "msg_history_show" event is emitted when `msg_silent > 0`. E.g. when capturing its output with `execute()`, which also doesn't work with ext_messages. Solution: Don't emit the "msg_history_show" event when `msg_silent > 0`. Call regular messaging functions when `redirecting()`, to execute `redir_write()` while ensuring the message itself is not emitted.
Diffstat (limited to 'runtime/lua/vim/_editor.lua')
0 files changed, 0 insertions, 0 deletions