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:
parent
d3e51603bc
commit
ed910604ca
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue