Skip to content

Commit a80af74

Browse files
author
Nuno Ramos
committed
fix: use more appropriate snacks picker
1 parent 35fb81a commit a80af74

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lua/debugprint/printtag_operations.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,10 @@ local picker_handlers = {
113113
call = function()
114114
local ok_snacks, snacks = pcall(require, "snacks")
115115
if ok_snacks then
116-
snacks.picker.grep({
116+
snacks.picker.grep_word({
117117
title = "Debug Prints",
118118
search = global_opts.print_tag,
119+
regex = true,
119120
})
120121
return true
121122
end

0 commit comments

Comments
 (0)