mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 17:36:29 +00:00
tag: fix problem when tagfunc return value is v:null (#12251)
fixes #12250.
This commit is contained in:
@@ -1182,7 +1182,7 @@ static int find_tagfunc_tags(
|
||||
if (result == 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);
|
||||
return NOTDONE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user