summaryrefslogtreecommitdiffstatshomepage
path: root/runtime/lua/vim/provider/python.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2026-03-18 21:07:17 -0400
committerGitHub <noreply@github.com>2026-03-18 21:07:17 -0400
commit1b2b715389c5a34f323001f34e4b78b86c9cff8d (patch)
tree8ad2721da981230396b245d2d681534bcfe43058 /runtime/lua/vim/provider/python.lua
parent4430c9a4247788ff780cf9f145a984b61bca426d (diff)
fix(messages): disallow user-defined integer message-id #38359
Problem: `nvim_echo(…, {id=…})` accepts user-defined id as a string or integer. Generated ids are always higher than last highest msg-id used. Thus plugins may accidentally advance the integer id "address space", which, at minimum, could lead to confusion when troubleshooting, or in the worst case, could overflow or "exhaust" the id address space. There's no use-case for it, and it could be the mildly confusing, so we should just disallow it. Solution: Disallow *integer* user-defined message-id. Only allow *string* user-defined message-id.
Diffstat (limited to 'runtime/lua/vim/provider/python.lua')
0 files changed, 0 insertions, 0 deletions