summaryrefslogtreecommitdiffstats
path: root/runtime/pack
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/pack')
-rw-r--r--runtime/pack/dist/opt/termdebug/plugin/termdebug.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim b/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
index 6d8e483e2e..e764c2353a 100644
--- a/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
+++ b/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
@@ -1648,9 +1648,9 @@ func s:CreateBreakpoint(id, subid, enabled)
let label = get(g:termdebug_config, 'sign', '')
endif
if label == ''
- let label = substitute(nr, '\..*', '', '')
- if strlen(label) > 2
- let label = strpart(label, strlen(label) - 2)
+ let label = printf('%02X', a:id)
+ if a:id > 255
+ let label = 'F+'
endif
endif
call sign_define('debugBreakpoint' .. nr,