Skip to content

Commit d59f857

Browse files
committed
feat(skim): live grep prompt hl with v1.8.1
1 parent 32f3422 commit d59f857

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

lua/fzf-lua/providers/grep.lua

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ M.grep = function(opts)
4646
end
4747
end
4848

49-
if utils.has(opts, "fzf") and not opts.prompt and opts.search and #opts.search > 0 then
49+
if (utils.has(opts, "fzf") or utils.has(opts, "sk", { 1, 8, 1 }))
50+
and not opts.prompt and opts.search and #opts.search > 0
51+
then
5052
opts.prompt = utils.ansi_from_hl(opts.hls.live_prompt, opts.search) .. " > "
5153
end
5254

0 commit comments

Comments
 (0)