mirror of
https://github.com/vim/vim
synced 2025-07-16 09:12:00 +00:00
runtime(termdebug): allow to use decimal signs
closes: #16011 Co-authored-by: Christian Brabandt <cb@256bit.org> Signed-off-by: Ella Moss <ella.moss@utah.edu> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
815c822aaf
commit
5e7f43b6ac
@ -1912,6 +1912,11 @@ def CreateBreakpoint(id: number, subid: number, enabled: string)
|
||||
var label = ''
|
||||
if exists('g:termdebug_config') && has_key(g:termdebug_config, 'sign')
|
||||
label = g:termdebug_config['sign']
|
||||
elseif exists('g:termdebug_config') && has_key(g:termdebug_config, 'sign_decimal')
|
||||
label = printf('%02d', id)
|
||||
if id > 99
|
||||
label = '9+'
|
||||
endif
|
||||
else
|
||||
label = printf('%02X', id)
|
||||
if id > 255
|
||||
|
Reference in New Issue
Block a user