diff options
author | erw7 <erw7.github@gmail.com> | 2020-05-05 17:33:48 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-05 10:33:48 +0200 |
commit | a467f3f665bda399feae440656f38ae573cef27f (patch) | |
tree | 91fda70605e017dff052cb3aa8c7c177c52010ac | |
parent | fdd328d568f7f1a11474fd59a429ace2720afa33 (diff) | |
download | rneovim-a467f3f665bda399feae440656f38ae573cef27f.tar.gz rneovim-a467f3f665bda399feae440656f38ae573cef27f.tar.bz2 rneovim-a467f3f665bda399feae440656f38ae573cef27f.zip |
tag: fix problem when tagfunc return value is v:null (#12251)
fixes #12250.
-rw-r--r-- | src/nvim/tag.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |