From 20a94f44b3cd4a33fb7d2ce5faf07a5244ba2cae Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Thu, 9 Nov 2023 15:21:58 +0800 Subject: [PATCH] runtime(doc): fix grammar in termdebug doc, remove trailing spaces (#13505) Signed-off-by: Christian Brabandt --- runtime/doc/terminal.txt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/runtime/doc/terminal.txt b/runtime/doc/terminal.txt index d7cfb1b13a..68528d3a55 100644 --- a/runtime/doc/terminal.txt +++ b/runtime/doc/terminal.txt @@ -1464,20 +1464,20 @@ If there is no g:termdebug_config you can use: > < Mappings ~ *termdebug_map_K* *termdebug-mappings* -The K key is normally mapped to |:Evaluate| unless there already exists a -buffer local mapping to K |map-local|. If you do not want this use: > +The K key is normally mapped to |:Evaluate| unless a buffer local (|:map-local|) +mapping to K already exists. If you do not want this use: > let g:termdebug_config['map_K'] = 0 If there is no g:termdebug_config you can use: > let g:termdebug_map_K = 0 < *termdebug_map_minus* -The - key is normally mapped to |:Down| unless there already exists a buffer -local mapping to the - key. If you do not want this use: > +The - key is normally mapped to |:Down| unless a buffer local mapping to the - +key already exists. If you do not want this use: > let g:termdebug_config['map_minus'] = 0 < *termdebug_map_plus* -The + key is normally mapped to |:Up| unless there already exists a buffer -local mapping to the + key. If you do not want this use: > +The + key is normally mapped to |:Up| unless a buffer local mapping to the + +key already exists. If you do not want this use: > let g:termdebug_config['map_plus'] = 0 < *termdebug_disasm_window* @@ -1487,7 +1487,7 @@ If you want the Asm window shown by default, set the "disasm_window" flag to let g:termdebug_config['disasm_window_height'] = 15 If there is no g:termdebug_config you can use: > let g:termdebug_disasm_window = 15 -Any value greater than 1 will set the Asm window height to that value. +Any value greater than 1 will set the Asm window height to that value. If the current window has enough horizontal space, it will be vertically split and the Asm window will be shown side by side with the source code window (and the height option won't be used).