runtime(termdebug): using wrong type for PlaceSign()
Commit:
https://github.com/vim/vim/commit/f127dce1889a80280c16ef1163307f4086434182
Author: shane.xb.qian <[email protected]>
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 <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
b/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
index d6cf327cf..5bde69a44 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
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/E1sIjdY-00Fw9f-5g%40256bit.org.