mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-05-28 00:21:57 +02:00
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.foxe@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
1c0d468d72
commit
cb031178c2
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
@@ -734,6 +734,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
62,
|
||||
/**/
|
||||
61,
|
||||
/**/
|
||||
|
||||
Reference in New Issue
Block a user