mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
tag: fix problem when tagfunc return value is v:null (#12251)
fixes #12250.
This commit is contained in:
parent
fdd328d568
commit
a467f3f665
@ -1182,7 +1182,7 @@ static int find_tagfunc_tags(
|
|||||||
if (result == FAIL) {
|
if (result == FAIL) {
|
||||||
return FAIL;
|
return FAIL;
|
||||||
}
|
}
|
||||||
if (rettv.v_type == VAR_SPECIAL && rettv.vval.v_number == VV_NULL) {
|
if (rettv.v_type == VAR_SPECIAL && rettv.vval.v_special == kSpecialVarNull) {
|
||||||
tv_clear(&rettv);
|
tv_clear(&rettv);
|
||||||
return NOTDONE;
|
return NOTDONE;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user