From a467f3f665bda399feae440656f38ae573cef27f Mon Sep 17 00:00:00 2001 From: erw7 Date: Tue, 5 May 2020 17:33:48 +0900 Subject: tag: fix problem when tagfunc return value is v:null (#12251) fixes #12250. --- src/nvim/tag.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/nvim/tag.c b/src/nvim/tag.c index ff07a00952..81d1ef4c9f 100644 --- a/src/nvim/tag.c +++ b/src/nvim/tag.c @@ -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; } -- cgit