aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/nvim_terminal_emulator.txt
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-07-05 20:57:01 +0800
committerGitHub <noreply@github.com>2022-07-05 20:57:01 +0800
commita4801b803439d0bfa412383462af69f8d7e56835 (patch)
tree9f854c8fdc14b3eb251cf1d5391a0f501ffdbf77 /runtime/doc/nvim_terminal_emulator.txt
parent2536bde6c9ef5f0a94c0d3789a18a14de6a0a666 (diff)
downloadrneovim-a4801b803439d0bfa412383462af69f8d7e56835.tar.gz
rneovim-a4801b803439d0bfa412383462af69f8d7e56835.tar.bz2
rneovim-a4801b803439d0bfa412383462af69f8d7e56835.zip
vim-patch:8.0.1562: the terminal debugger can't set a breakpoint with the mouse (#19234)
Problem: The terminal debugger can't set a breakpoint with the mouse. Solution: Add popup menu entries. https://github.com/vim/vim/commit/71137fed4d77e985d49ca32c79f030512767b8ce This ports missing popup menu code to termdebug plugin. Despite the commit message, the code is copied from latest Vim. WinBar code is commented out and WinBar docs is not ported.
Diffstat (limited to 'runtime/doc/nvim_terminal_emulator.txt')
-rw-r--r--runtime/doc/nvim_terminal_emulator.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/runtime/doc/nvim_terminal_emulator.txt b/runtime/doc/nvim_terminal_emulator.txt
index 487ccdb0c5..a7be9ff98f 100644
--- a/runtime/doc/nvim_terminal_emulator.txt
+++ b/runtime/doc/nvim_terminal_emulator.txt
@@ -472,6 +472,20 @@ any window, using the TermDebugSendCommand() function. Example: >
The argument is the gdb command.
+Popup menu ~
+ *termdebug_popup*
+
+By default the Termdebug plugin sets 'mousemodel' to "popup_setpos" and adds
+these entries to the popup menu:
+ Set breakpoint `:Break`
+ Clear breakpoint `:Clear`
+ Evaluate `:Evaluate`
+If you don't want this then disable it with: >
+ let g:termdebug_config['popup'] = 0
+or if there is no g:termdebug_config: >
+ let g:termdebug_popup = 0
+
+
Vim window width ~
*termdebug_wide*