Files
neovim/src/nvim
neovim-backports[bot] 4df16ecdb9 backport: fix(api): LuaRef leak in nvim_set_keymap on LHS too long (>=66 bytes) (#39376)
Problem: `nvim_set_keymap` leaks the `callback` `LuaRef` when the
LHS is too long.

Solution: Make `set_maparg_lhs_rhs` transfer `rhs_lua` to
`MapArguments` up front so the caller always owns the ref.

(cherry picked from commit 58aad59e1c)

Co-authored-by: Barrett Ruth <62671086+barrettruth@users.noreply.github.com>
2026-04-24 17:27:14 -04:00
..
2026-04-20 11:46:26 +00:00
2026-03-05 10:48:25 +01:00
2024-01-11 21:37:23 +01:00
2026-03-11 18:00:18 +01:00
2024-01-11 21:37:23 +01:00
2025-12-15 13:55:15 -05:00
2023-11-28 22:23:56 +01:00
2026-04-12 15:56:12 +02:00
2024-01-11 21:37:23 +01:00
2026-04-20 11:46:26 +00:00
2026-02-12 13:46:45 +01:00
2026-03-20 23:30:09 +01:00
2025-11-16 20:36:07 -08:00
2024-01-11 21:37:23 +01:00
2024-01-11 21:37:23 +01:00
2026-03-29 11:56:37 -04:00
2025-09-13 22:49:50 -04:00
2024-01-11 21:37:23 +01:00
2025-12-06 20:33:02 -05:00
2026-03-26 05:49:02 -04:00
2025-11-19 20:43:15 -08:00