diff options
| author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-05-01 19:29:13 -0400 |
|---|---|---|
| committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-05-01 22:29:03 -0400 |
| commit | 710f0eae2f5a626a0771acbb1fb32e121bbf2bde (patch) | |
| tree | aaf2e66ce8a83e9efa07048b768be8b95b6b51e3 /runtime/pack/dist/opt/termdebug | |
| parent | 83b6a18598a76730d546beebb1951054611344e5 (diff) | |
| download | rneovim-710f0eae2f5a626a0771acbb1fb32e121bbf2bde.tar.gz rneovim-710f0eae2f5a626a0771acbb1fb32e121bbf2bde.tar.bz2 rneovim-710f0eae2f5a626a0771acbb1fb32e121bbf2bde.zip | |
vim-patch:1b884a005398
Update runtime files.
https://github.com/vim/vim/commit/1b884a0053982335f644eec6c71027706bf3c522
Omit doc/autocmd.txt.
Omit tools/emoji_list.vim. Patch v8.2.1540 is not ported.
Diffstat (limited to 'runtime/pack/dist/opt/termdebug')
| -rw-r--r-- | runtime/pack/dist/opt/termdebug/plugin/termdebug.vim | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim b/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim index e34f1cdc75..91abe80fb5 100644 --- a/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim +++ b/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim @@ -2,7 +2,7 @@ " " Author: Bram Moolenaar " Copyright: Vim license applies, see ":help license" -" Last Change: 2020 Oct 28 +" Last Change: 2020 Dec 07 " " WORK IN PROGRESS - Only the basics work " Note: On MS-Windows you need a recent version of gdb. The one included with @@ -815,8 +815,12 @@ func s:DeleteCommands() delcommand Asm delcommand Winbar - if exists('s:k_map_saved') && !empty(s:k_map_saved) - call mapset('n', 0, s:k_map_saved) + if exists('s:k_map_saved') + if empty(s:k_map_saved) + nunmap K + else + call mapset('n', 0, s:k_map_saved) + endif unlet s:k_map_saved endif |