]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.2.0062: Using the wrong field with DAP channel mode v9.2.0062
authorFoxe Chen <chen.foxe@gmail.com>
Wed, 25 Feb 2026 21:43:06 +0000 (21:43 +0000)
committerChristian Brabandt <cb@256bit.org>
Wed, 25 Feb 2026 21:43:06 +0000 (21:43 +0000)
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.foxe@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/channel.c
src/version.c

index 462281dbd35468d53dd3ffef0b5b48ee159e3494..92b95f9b6d56e1b6bfe5929b5f7fdf253202e421 100644 (file)
@@ -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;
            }
index 08e7ee2c9a1b17db84243025a6a6fd46b7f41ee7..dfc0431b1729c3bdbe6427df64803e41c6442bca 100644 (file)
@@ -734,6 +734,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    62,
 /**/
     61,
 /**/