aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorSean Dewar <seandewar@users.noreply.github.com>2023-08-21 09:28:58 +0100
committerSean Dewar <seandewar@users.noreply.github.com>2023-08-25 10:59:55 +0100
commit949dd14d8b2acfc8feda7410ed35e28a2d895992 (patch)
treed16e7975a6b496d5b2cae73018e4773367eb50be /runtime/doc
parent0b0d912763890652c20d219ad92ab8d91195ca02 (diff)
downloadrneovim-949dd14d8b2acfc8feda7410ed35e28a2d895992.tar.gz
rneovim-949dd14d8b2acfc8feda7410ed35e28a2d895992.tar.bz2
rneovim-949dd14d8b2acfc8feda7410ed35e28a2d895992.zip
vim-patch:9f2962141514
Runtime(termdebug): Add support to view local and argument variables closes: 12403 https://github.com/vim/vim/commit/9f29621415146abc046471440515e9e34f3e57a1 Rename the existing "s:running" (#16790) to "s:gdb_running" to not clash with the "s:running" introduced in this patch (which instead relates to whether the debugged program is currently running in gdb). Keep the file `:retab`bed as before. Co-authored-by: laburnumT <flo.striker@gmail.com>
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/nvim_terminal_emulator.txt13
1 files changed, 12 insertions, 1 deletions
diff --git a/runtime/doc/nvim_terminal_emulator.txt b/runtime/doc/nvim_terminal_emulator.txt
index bbcc686207..482b608ef9 100644
--- a/runtime/doc/nvim_terminal_emulator.txt
+++ b/runtime/doc/nvim_terminal_emulator.txt
@@ -325,7 +325,9 @@ Other commands ~
isn't one
*:Asm* jump to the window with the disassembly, create it if there
isn't one
-
+ *:Var* jump to the window with the local and argument variables,
+ create it if there isn't one. This window updates whenever the
+ program is stopped
Events ~
*termdebug-events*
@@ -400,6 +402,15 @@ If there is no g:termdebug_config you can use: >vim
let g:termdebug_disasm_window = 15
Any value greater than 1 will set the Asm window height to that value.
+ *termdebug_variables_window*
+If you want the Var window shown by default, set the flag to 1.
+the "variables_window_height" entry can be used to set the window height: >vim
+ let g:termdebug_config['variables_window'] = 1
+ let g:termdebug_config['variables_window_height'] = 15
+If there is no g:termdebug_config you can use: >vim
+ let g:termdebug_variables_window = 15
+Any value greater than 1 will set the Var window height to that value.
+
Communication ~
*termdebug-communication*
There is another, hidden, buffer, which is used for Vim to communicate with