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>
This commit is contained in:
Christian Clason
2024-03-24 10:32:07 +01:00
co-authored by Mihai Ciuraru zeertzjq
parent d3e51603bc
commit ed910604ca
+1 -1
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