mirror of
https://github.com/neovim/neovim.git
synced 2024-12-23 20:55:18 -07:00
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
Block a user