forked from aniani/vim
runtime(termdebug): allow multibyte characters as breakpoint signs (#14274)
Allow multibyte characters as termdebug signs using slice() function Co-authored-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Mihai Ciuraru <mihai.ciuraru@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
@@ -1661,7 +1661,7 @@ func s:CreateBreakpoint(id, subid, enabled)
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
call sign_define('debugBreakpoint' .. nr,
|
call sign_define('debugBreakpoint' .. nr,
|
||||||
\ #{text: strpart(label, 0, 2),
|
\ #{text: slice(label, 0, 2),
|
||||||
\ texthl: hiName})
|
\ texthl: hiName})
|
||||||
endif
|
endif
|
||||||
endfunc
|
endfunc
|
||||||
|
Reference in New Issue
Block a user