diff options
| author | tami5 <65782666+tami5@users.noreply.github.com> | 2021-08-23 10:17:59 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-23 10:17:59 +0300 |
| commit | 03c2b8f6bb8027ecdf10acc6d803886c80f99037 (patch) | |
| tree | de28763884b1bdbf2ea6bb458b647772ee898f65 /lua | |
| parent | d8eeb0e4acb81ed52bbabc43010f2450c0a7972c (diff) | |
refactor(pickers): remove additional fileopen (#1154)
unfinished work from #1122
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/telescope/builtin/files.lua | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lua/telescope/builtin/files.lua b/lua/telescope/builtin/files.lua index dc6754b..ce02f81 100644 --- a/lua/telescope/builtin/files.lua +++ b/lua/telescope/builtin/files.lua @@ -565,10 +565,6 @@ files.tags = function(opts) local results = {} for _, ctags_file in ipairs(tagfiles) do - local fd = assert(vim.loop.fs_open(vim.fn.expand(ctags_file, true), "r", 438)) - local stat = assert(vim.loop.fs_fstat(fd)) - assert(vim.loop.fs_close(fd)) - for line in Path:new(vim.fn.expand(ctags_file)):iter() do results[#results + 1] = line end |
