changeset 35433:a091ac61c15c

runtime(termdebug): using wrong type for PlaceSign() Commit: https://github.com/vim/vim/commit/f127dce1889a80280c16ef1163307f4086434182 Author: shane.xb.qian <shane.qian@foxmail.com> Date: Sun Jun 16 08:35:57 2024 +0200 runtime(termdebug): using wrong type for PlaceSign() Make sure to convert them to numbers. fixes: #14994 closes: #15015 Signed-off-by: shane.xb.qian <shane.qian@foxmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Sun, 16 Jun 2024 08:45:12 +0200
parents 595487579635
children 5fc5b71e2551
files runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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