We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9584a79 commit 947c98eCopy full SHA for 947c98e
1 file changed
lua/flygrep/init.lua
@@ -363,7 +363,7 @@ local function open_win()
363
pcall(vim.fn.matchdelete, search_hi_id, result_winid)
364
pcall(vim.fn.timer_stop, grep_timer_id)
365
pcall(job.stop, search_jobid)
366
- search_hi_id = vim.fn.matchadd(
+ search_hi_id = pcall(vim.fn.matchadd,
367
config.matched_higroup,
368
grep_input:gsub('~', '\\~'),
369
10,
0 commit comments