aboutsummaryrefslogtreecommitdiff
path: root/runtime/pack/dist/opt/termdebug/plugin
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-11-09 21:53:34 +0800
committerGitHub <noreply@github.com>2023-11-09 21:53:34 +0800
commit267c346e2cd10081bfebe86be59f137a1b7470e5 (patch)
tree8a17cad14b298c4f62c793da95c6d59924e82b84 /runtime/pack/dist/opt/termdebug/plugin
parent610f50ddaff260e2e2f7236f6a3982ee7554c2a6 (diff)
parent04d299c17014b0802c79613252e4de26da84a7c9 (diff)
downloadrneovim-267c346e2cd10081bfebe86be59f137a1b7470e5.tar.gz
rneovim-267c346e2cd10081bfebe86be59f137a1b7470e5.tar.bz2
rneovim-267c346e2cd10081bfebe86be59f137a1b7470e5.zip
Merge pull request #25951 from zeertzjq/vim-8.2.4140
vim-patch:8.2.{4140,4820,4825,4861,4932}
Diffstat (limited to 'runtime/pack/dist/opt/termdebug/plugin')
-rw-r--r--runtime/pack/dist/opt/termdebug/plugin/termdebug.vim9
1 files changed, 3 insertions, 6 deletions
diff --git a/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim b/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
index 73fbc8c922..8beca8ffb3 100644
--- a/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
+++ b/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
@@ -1116,8 +1116,7 @@ func s:DeleteCommands()
if exists('s:k_map_saved')
if !empty(s:k_map_saved) && !s:k_map_saved.buffer
nunmap K
- " call mapset(s:k_map_saved)
- call mapset('n', 0, s:k_map_saved)
+ call mapset(s:k_map_saved)
elseif empty(s:k_map_saved)
nunmap K
endif
@@ -1126,8 +1125,7 @@ func s:DeleteCommands()
if exists('s:plus_map_saved')
if !empty(s:plus_map_saved) && !s:plus_map_saved.buffer
nunmap +
- " call mapset(s:plus_map_saved)
- call mapset('n', 0, s:plus_map_saved)
+ call mapset(s:plus_map_saved)
elseif empty(s:plus_map_saved)
nunmap +
endif
@@ -1136,8 +1134,7 @@ func s:DeleteCommands()
if exists('s:minus_map_saved')
if !empty(s:minus_map_saved) && !s:minus_map_saved.buffer
nunmap -
- " call mapset(s:minus_map_saved)
- call mapset('n', 0, s:minus_map_saved)
+ call mapset(s:minus_map_saved)
elseif empty(s:minus_map_saved)
nunmap -
endif