mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06: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
|
||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user