aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_stringbuffer.lua
diff options
context:
space:
mode:
authorluukvbaal <luukvbaal@gmail.com>2026-05-12 00:17:04 +0200
committerGitHub <noreply@github.com>2026-05-11 18:17:04 -0400
commit5f7237f54bac6ee58e8b6773b2276eee8cfe5c41 (patch)
tree78e308f9f7164d9f139c3a02ba90f63731df6743 /runtime/lua/vim/_stringbuffer.lua
parent96fc7c150f0db6f7eaed3fc4e731210d64581eb8 (diff)
downloadrneovim-5f7237f54bac6ee58e8b6773b2276eee8cfe5c41.tar.gz
rneovim-5f7237f54bac6ee58e8b6773b2276eee8cfe5c41.tar.bz2
rneovim-5f7237f54bac6ee58e8b6773b2276eee8cfe5c41.zip
fix(ui2): unable to route by message ID #39734
Problem: - "bufwrite" message identifier is encoded in the message ID of a "progress" kind message (since ff68fd6b); UI2 does not allow routing by message ID. - No documented way to set a default message target for all but a few kinds (without copying all of |ui-messages| kinds to cfg.msg.targets). - A user adding a message route for the documented empty "" kind can result in unexpected behavior. - Showing duplicate message (x) indicator in msg and cmd targets simultaneously is unsupported. - Manually triggering CursorMoved autocommand to add matchparen highlighting in the cmdline. Solution: - Match cfg.msg.targets keys as Lua pattern to a message ID. - Recognize "default" as key in cfg.msg.targets, drop the undocumented cfg.msg.target field. - Don't try to get configured target for "" message kind/trigger. - Maintain msg indicator virtual text for the cmd and msg target. - Add matchparen highlighting by directly calling the Lua module (possible since b813c7e0).
Diffstat (limited to 'runtime/lua/vim/_stringbuffer.lua')
0 files changed, 0 insertions, 0 deletions