Mercurial > vim
diff src/map.c @ 27239:bd072d44eb2c v8.2.4148
patch 8.2.4148: deleting any mapping may cause <ScritpCmd> to fail
Commit: https://github.com/vim/vim/commit/f61c89d2e698e287a9d04c0a29f4ecc0130c2ea2
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jan 19 22:51:48 2022 +0000
patch 8.2.4148: deleting any mapping may cause <ScritpCmd> to fail
Problem: Deleting any mapping may cause <ScritpCmd> to not set the script
context.
Solution: Only reset last_used_map if it is the deleted mapping.
(closes #9568)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 20 Jan 2022 00:00:07 +0100 |
parents | ea2b4cb4515b |
children | c072eed37deb |
line wrap: on
line diff