]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1402: multi-byte mappings not properly stored in session file v9.1.1402
authorGuyBrush <miguel.barro@live.com>
Thu, 22 May 2025 20:19:25 +0000 (22:19 +0200)
committerChristian Brabandt <cb@256bit.org>
Thu, 22 May 2025 20:34:31 +0000 (22:34 +0200)
commit5b07aff2f665f290f2ec4a5e6bcf9873a178149a
treebedb9f9b91bc3fb0a1f2c4791493827c5474af93
parent1a8be6b4478648c971517e23c65e975b90ab37b4
patch 9.1.1402: multi-byte mappings not properly stored in session file

Problem:  multi-byte mappings not properly stored in session file
Solution: unescape the mapping before writing out the mapping, prefer
          single-byte mapping name if possible (Miguel Barro)

closes: #17355

Signed-off-by: GuyBrush <miguel.barro@live.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/map.c
src/misc2.c
src/testdir/test_mksession_utf8.vim
src/version.c