commit ed910604ca677c897f003d00832dc6a1cb3ac65d
parent d3e51603bc94fac68cd2c92ae7ebc90baa8471fe
Author: Christian Clason <c.clason@uni-graz.at>
Date: Sun, 24 Mar 2024 10:15:13 +0100
vim-patch:d3c0ff5d5a90
runtime(termdebug): allow multibyte characters as breakpoint signs (vim/vim#14274)
Allow multibyte characters as termdebug signs using slice() function
https://github.com/vim/vim/commit/d3c0ff5d5a9076999a8504ee4d23a2c5abaf494e
Co-authored-by: Mihai Ciuraru <mihai.ciuraru@gmail.com>
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim b/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
@@ -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