set show_link_counts = false in FindAllTags second prompt

Some users experience an empty dialog after calling show_tags, when the tag has been selected and a prompt with the files that contain the tag should appear.

My understanding is that the flag will call linkutils.generate_backlink_map to get a list of backlinks. I can't see the purpose for the count in the context of showing tags, so I believe that false should be the value for all cases
This commit is contained in:
Nestor Arocha
2023-05-27 12:57:09 +00:00
committed by GitHub
parent 8a8daa0ea1
commit c10a79326e

View File

@@ -2672,7 +2672,7 @@ local function FindAllTags(opts)
action_state.get_selected_entry().value.tag
local follow_opts = {
follow_tag = selection,
show_link_counts = true,
show_link_counts = false,
templateDir = templateDir,
}
actions._close(prompt_bufnr, false)