From c10a79326e96a8db4a68e7d770465ff9db602b54 Mon Sep 17 00:00:00 2001 From: Nestor Arocha Date: Sat, 27 May 2023 12:57:09 +0000 Subject: [PATCH] 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 --- lua/telekasten.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/telekasten.lua b/lua/telekasten.lua index cc8676d..9f9eb6e 100644 --- a/lua/telekasten.lua +++ b/lua/telekasten.lua @@ -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)