fix: buitin.tags broke when tags-file was in wildignore (#1387)

regression from
6f829bf6bc333809dd97e532dbc88a7fcf297b02
https://github.com/nvim-telescope/telescope.nvim/pull/1122
This commit is contained in:
Denis Cornehl
2021-10-28 12:34:46 +02:00
committed by GitHub
parent 5809321290
commit 99a3988d6e

View File

@@ -566,7 +566,7 @@ files.tags = function(opts)
local results = {}
for _, ctags_file in ipairs(tagfiles) do
for line in Path:new(vim.fn.expand(ctags_file)):iter() do
for line in Path:new(vim.fn.expand(ctags_file, true)):iter() do
results[#results + 1] = line
end
end