Commit: patch 9.2.0062: Using the wrong field with DAP channel mode

1 view
Skip to first unread message

Christian Brabandt

unread,
Feb 26, 2026, 2:31:51 PM (6 days ago) Feb 26
to vim...@googlegroups.com
patch 9.2.0062: Using the wrong field with DAP channel mode

Commit: https://github.com/vim/vim/commit/cb031178c2b35cbec0caf94e5d592530aa21f129
Author: Foxe Chen <chen...@gmail.com>
Date: Wed Feb 25 21:43:06 2026 +0000

patch 9.2.0062: Using the wrong field with DAP channel mode

Problem: Using the wrong field with DAP channel mode
(after v9.2.0060)
Solution: Use request_seq instead of seq when handing DAP response
(Foxe Chen).

closes: #19511

Signed-off-by: Foxe Chen <chen...@gmail.com>
Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/src/channel.c b/src/channel.c
index 462281dbd..92b95f9b6 100644
--- a/src/channel.c
+++ b/src/channel.c
@@ -3015,7 +3015,7 @@ may_invoke_callback(channel_T *channel, ch_part_T part)
if (ch_mode == CH_MODE_LSP)
di = dict_find(d, (char_u *)"id", -1);
else
- di = dict_find(d, (char_u *)"seq", -1);
+ di = dict_find(d, (char_u *)"request_seq", -1);
if (di != NULL && di->di_tv.v_type == VAR_NUMBER)
seq_nr = di->di_tv.vval.v_number;
}
diff --git a/src/version.c b/src/version.c
index 08e7ee2c9..dfc0431b1 100644
--- a/src/version.c
+++ b/src/version.c
@@ -734,6 +734,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 62,
/**/
61,
/**/
Reply all
Reply to author
Forward
0 new messages