diff options
author | Christian Clason <c.clason@uni-graz.at> | 2024-03-24 10:15:13 +0100 |
---|---|---|
committer | Christian Clason <c.clason@uni-graz.at> | 2024-03-24 10:32:07 +0100 |
commit | ed910604ca677c897f003d00832dc6a1cb3ac65d (patch) | |
tree | c4a09c7bdcfdd5f6080748ac1448a6a691b1e130 | |
parent | d3e51603bc94fac68cd2c92ae7ebc90baa8471fe (diff) | |
download | rneovim-ed910604ca677c897f003d00832dc6a1cb3ac65d.tar.gz rneovim-ed910604ca677c897f003d00832dc6a1cb3ac65d.tar.bz2 rneovim-ed910604ca677c897f003d00832dc6a1cb3ac65d.zip |
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>
-rw-r--r-- | runtime/pack/dist/opt/termdebug/plugin/termdebug.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim b/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim index a253acc63f..89d0874b9e 100644 --- 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 |