From f127dce1889a80280c16ef1163307f4086434182 Mon Sep 17 00:00:00 2001 From: "shane.xb.qian" Date: Sun, 16 Jun 2024 08:35:57 +0200 Subject: [PATCH] runtime(termdebug): using wrong type for PlaceSign() Make sure to convert them to numbers. fixes: #14994 closes: #15015 Signed-off-by: shane.xb.qian Signed-off-by: Christian Brabandt --- runtime/pack/dist/opt/termdebug/plugin/termdebug.vim | 2 +- 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 index d6cf327cf8..5bde69a440 100644 --- a/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim +++ b/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim @@ -1949,7 +1949,7 @@ def BufRead() for [id, entries] in items(breakpoints) for [subid, entry] in items(entries) if entry['fname'] == fname - PlaceSign(id, subid, entry) + PlaceSign(str2nr(id), str2nr(subid), entry) endif endfor endfor