]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1532: termdebug: not enough ways to configure breakpoints v9.1.1532
authorDimitry Ishenko <dimitry.ishenko@gmail.com>
Tue, 8 Jul 2025 21:13:14 +0000 (23:13 +0200)
committerChristian Brabandt <cb@256bit.org>
Tue, 8 Jul 2025 21:13:14 +0000 (23:13 +0200)
commitc4bca1de0bc0f9db1b2d1dab50a6ddcd748dcfeb
tree893dfdc41e25b2c289963077ce4841e8e797e3c0
parent8331310c060ed2bfe9916470b3c10f484f875a6e
patch 9.1.1532: termdebug: not enough ways to configure breakpoints

Problem:  termdebug: not enough ways to configure breakpoints
Solution: add the termdebug_config['signs'] config setting, rework the
          termdebug test cases (Dimitry Ishenko)

Allow to configure custom breakpoint signs so one can do something like
this:

```vim
let g:termdebug_config['signs'] = ['>1', '>2', '>3', '>4', '>5', '>6', '>7', '>8', '>9']
let g:termdebug_config['sign'] = '>>'
```

where the first 9 breakpoints will have their own signs and the rest
will be the same (>>).

While at it, rework the test for the termdebug plugin:

- Added test for g:termdebug_config['signs'].
- Added test for g:termdebug_config['sign'].
- Moved test for g:termdebug_config['sign_decimal'] into
  Test_termdebug_basic()

closes: #17694

Signed-off-by: Dimitry Ishenko <dimitry.ishenko@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/doc/terminal.txt
runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
src/testdir/test_plugin_termdebug.vim
src/version.c