mirror of
https://github.com/neovim/neovim.git
synced 2025-10-17 23:31:51 +00:00
vim-patch:2dd613f57bf1 (#26009)
runtime(termdebug): improve the breakpoint sign label (vim/vim#13525)
// related vim/vim#12589
// that should be the last chat (I) with Bram, r.i.p
2dd613f57b
Co-authored-by: Shane-XB-Qian <shane.qian@foxmail.com>
This commit is contained in:
@@ -1781,9 +1781,9 @@ func s:CreateBreakpoint(id, subid, enabled)
|
||||
if exists('g:termdebug_config')
|
||||
let label = get(g:termdebug_config, 'sign', '')
|
||||
endif
|
||||
if label == ''
|
||||
let label = substitute(nr, '\..*', '', '')
|
||||
if strlen(label) > 2
|
||||
if label == ''
|
||||
let label = printf('%02X', a:id)
|
||||
if a:id > 255
|
||||
let label = 'F+'
|
||||
endif
|
||||
endif
|
||||
|
Reference in New Issue
Block a user