From ec26d48a3e21c7743adfa4d371a24e51d65908db Mon Sep 17 00:00:00 2001 From: Lech Lorens Date: Sun, 25 Apr 2010 01:12:29 +0200 Subject: [PATCH] feat/tagfunc: the value of 'tagfunc' is used, causing some trouble. Currently help does not work. --- src/tag.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/tag.c b/src/tag.c index 074b0e61..bfef8504 100644 --- a/src/tag.c +++ b/src/tag.c @@ -543,6 +543,9 @@ do_tag(tag, type, count, forceit, verbose) #endif if (verbose) flags |= TAG_VERBOSE; + if (type == DT_TAG) + flags |= TAG_USE_TFU; + if (find_tags(name, &new_num_matches, &new_matches, flags, max_num_matches, buf_ffname) == OK && new_num_matches < max_num_matches) @@ -1281,7 +1284,7 @@ find_tfu_tags(garray_T *ga, int *match_count) #else len = 2; #endif - len += nfieds_required - 1; + len += nfieds_required; for (item2 = item->li_tv.vval.v_list->lv_first; item2 != NULL; -- 2.11.4.GIT