vim-patch:d3c0ff5d5a90

runtime(termdebug): allow multibyte characters as breakpoint signs (vim/vim#14274)

Allow multibyte characters as termdebug signs using slice() function

d3c0ff5d5a

Co-authored-by: Mihai Ciuraru <mihai.ciuraru@gmail.com>
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
This commit is contained in:
Christian Clason 2024-03-24 10:15:13 +01:00
parent d3e51603bc
commit ed910604ca
1 changed files with 1 additions and 1 deletions

View File

@ -1679,7 +1679,7 @@ func s:CreateBreakpoint(id, subid, enabled)
endif
endif
call sign_define('debugBreakpoint' .. nr,
\ #{text: strpart(label, 0, 2),
\ #{text: slice(label, 0, 2),
\ texthl: hiName})
endif
endfunc