Skip to content

Commit f7f1289

Browse files
committed
Need to fix this later
1 parent 0602d1c commit f7f1289

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

after/plugin/telescope.lua

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,12 @@ local select_one_or_multi = function(prompt_bufnr)
1212
require('telescope.actions').close(prompt_bufnr)
1313
for _, j in pairs(multi) do
1414
if j.path ~= nil then
15-
if j.lnum ~= nil then
16-
vim.cmd(string.format("%s %s:%s", "edit", j.path, j.lnum))
17-
else
18-
vim.cmd(string.format('%s %s', 'edit', j.path))
19-
end
15+
vim.cmd(string.format('%s %s', 'edit', j.path))
16+
-- if j.lnum ~= nil then
17+
-- vim.cmd(string.format("%s %s:%s", "edit", j.path, j.lnum))
18+
-- else
19+
-- vim.cmd(string.format('%s %s', 'edit', j.path))
20+
-- end
2021
end
2122
end
2223
else

0 commit comments

Comments
 (0)