Skip to content

Commit

Permalink
fix(prompt): never show the prompt when in regular search
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Jun 27, 2023
1 parent 6c51801 commit 51149ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/flash/state.lua
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ function M:update_target()
end

function M:step()
if self.opts.prompt.enabled then
if self.opts.prompt.enabled and not M.is_search() then
Prompt.set(self.pattern())
end
local c = Util.get_char()
Expand Down

0 comments on commit 51149ba

Please sign in to comment.