mirror of
https://github.com/Ascyii/telekasten.nvim.git
synced 2026-01-01 14:14:24 -05:00
initial support for #36 : pickers can now show the number of links and
backlinks if opts.show_link_counts is set. Which it is for the 'link search' following the tag selection.
This commit is contained in:
@@ -21,6 +21,7 @@ local function command_find_all_tags(opts)
|
||||
return "rg", { "--vimgrep", "-o", re, "--", opts.cwd }
|
||||
end
|
||||
|
||||
-- strips away leading ' or " , then trims whitespace
|
||||
local function trim(s)
|
||||
if s:sub(1, 1) == '"' or s:sub(1, 1) == "'" then
|
||||
s = s:sub(2)
|
||||
|
||||
Reference in New Issue
Block a user