mirror of
https://github.com/folke/snacks.nvim
synced 2025-08-04 10:49:08 +00:00
fix(picker.lazy): don't use live searches. Fixes #809
This commit is contained in:
parent
84277a3e01
commit
1a5fd93b89
2 changed files with 3 additions and 3 deletions
|
@ -121,7 +121,7 @@ function M.grep(opts, ctx)
|
|||
local file, line, col, text = item.text:match("^(.+):(%d+):(%d+):(.*)$")
|
||||
if not file then
|
||||
if not item.text:match("WARNING") then
|
||||
error("invalid grep output: " .. item.text)
|
||||
Snacks.notify.error("invalid grep output:\n" .. item.text)
|
||||
end
|
||||
return false
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue