mirror of
https://github.com/Ascyii/telekasten.nvim.git
synced 2026-01-01 06:14:23 -05:00
Help #68 with (hopefully) more error output
This commit is contained in:
@@ -112,8 +112,13 @@ M.do_find_all_tags = function(opts)
|
|||||||
args = args,
|
args = args,
|
||||||
enable_recording = true,
|
enable_recording = true,
|
||||||
on_exit = function(j, return_val)
|
on_exit = function(j, return_val)
|
||||||
for _, line in pairs(j:result()) do
|
if return_val == 0 then
|
||||||
parse_entry(opts, line, ret)
|
for _, line in pairs(j:result()) do
|
||||||
|
parse_entry(opts, line, ret)
|
||||||
|
end
|
||||||
|
else
|
||||||
|
print("rg return value: " .. tostring(return_val))
|
||||||
|
print("stderr: ", vim.inspect(j:stderr_result()))
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
on_stderr = function(err, data, _)
|
on_stderr = function(err, data, _)
|
||||||
|
|||||||
Reference in New Issue
Block a user