diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-04-08 09:32:37 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-08 09:32:37 -0400 |
commit | ed3c0a27c7e693baf5c817bede081d27ea4dba4c (patch) | |
tree | 3738b59b12942a301449d2410544fa78bc9d75bb /runtime | |
parent | 48e80572855042ceb1d9191bc11f8b60275426eb (diff) | |
parent | d99ce54252cf7cac37f346484c6cce64b2257173 (diff) | |
download | rneovim-ed3c0a27c7e693baf5c817bede081d27ea4dba4c.tar.gz rneovim-ed3c0a27c7e693baf5c817bede081d27ea4dba4c.tar.bz2 rneovim-ed3c0a27c7e693baf5c817bede081d27ea4dba4c.zip |
Merge pull request #14314 from janlazo/vim-8.2.2720
vim-patch:8.0.{1505,1511},8.2.{1304,1305,1393,1508,1791,2720}
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/repeat.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/runtime/doc/repeat.txt b/runtime/doc/repeat.txt index 604c969c64..3a7337d2e8 100644 --- a/runtime/doc/repeat.txt +++ b/runtime/doc/repeat.txt @@ -804,6 +804,19 @@ DEFINING BREAKPOINTS < Note that this only works for commands that are executed when sourcing the file, not for a function defined in that file. +:breaka[dd] expr {expression} + Sets a breakpoint, that will break whenever the {expression} + evaluates to a different value. Example: > + :breakadd expr g:lnum + +< Will break, whenever the global variable lnum changes. + Note if you watch a |script-variable| this will break + when switching scripts, since the script variable is only + valid in the script where it has been defined and if that + script is called from several other scripts, this will stop + whenever that particular variable will become visible or + unaccessible again. + The [lnum] is the line number of the breakpoint. Vim will stop at or after this line. When omitted line 1 is used. |