Skip to content

Commit ed91060

Browse files
clasonmihaifmzeertzjq
committed
vim-patch:d3c0ff5d5a90
runtime(termdebug): allow multibyte characters as breakpoint signs (vim/vim#14274) Allow multibyte characters as termdebug signs using slice() function vim/vim@d3c0ff5 Co-authored-by: Mihai Ciuraru <[email protected]> Co-authored-by: zeertzjq <[email protected]>
1 parent d3e5160 commit ed91060

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim

+1-1
Original file line numberDiff line numberDiff line change
@@ -1679,7 +1679,7 @@ func s:CreateBreakpoint(id, subid, enabled)
16791679
endif
16801680
endif
16811681
call sign_define('debugBreakpoint' .. nr,
1682-
\ #{text: strpart(label, 0, 2),
1682+
\ #{text: slice(label, 0, 2),
16831683
\ texthl: hiName})
16841684
endif
16851685
endfunc

0 commit comments

Comments
 (0)