mirror of
https://github.com/Ascyii/telekasten.nvim.git
synced 2026-01-01 06:14:23 -05:00
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:
@@ -2672,7 +2672,7 @@ local function FindAllTags(opts)
|
|||||||
action_state.get_selected_entry().value.tag
|
action_state.get_selected_entry().value.tag
|
||||||
local follow_opts = {
|
local follow_opts = {
|
||||||
follow_tag = selection,
|
follow_tag = selection,
|
||||||
show_link_counts = true,
|
show_link_counts = false,
|
||||||
templateDir = templateDir,
|
templateDir = templateDir,
|
||||||
}
|
}
|
||||||
actions._close(prompt_bufnr, false)
|
actions._close(prompt_bufnr, false)
|
||||||
|
|||||||
Reference in New Issue
Block a user