mirror of
https://github.com/neovim/neovim.git
synced 2025-09-14 07:18:17 +00:00
vim-patch:8.0.0287 (#7590)
Problem: Cannot access the arguments of the current function in debug mode.
(Luc Hermitte)
Solution: use get_funccal(). (Lemonboy, closes vim/vim#1432, closes vim/vim#1352)
c7d9eacefa
This commit is contained in:

committed by
Justin M. Keyes

parent
df10714991
commit
7d24a95b45
@@ -18732,7 +18732,7 @@ static dictitem_T *find_var_in_ht(hashtab_T *const ht,
|
||||
case 'l': return (current_funccal == NULL
|
||||
? NULL : (dictitem_T *)¤t_funccal->l_vars_var);
|
||||
case 'a': return (current_funccal == NULL
|
||||
? NULL : (dictitem_T *)¤t_funccal->l_avars_var);
|
||||
? NULL : (dictitem_T *)&get_funccal()->l_avars_var);
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user