Skip to content

Commit

Permalink
feat(nvim): no search result if not found
Browse files Browse the repository at this point in the history
  • Loading branch information
spywhere committed Feb 15, 2024
1 parent 6757450 commit 6342735
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configs/nvim/lua/plugin/appearance/miniline.lua
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ end)
return ''
end
local count = fn.searchcount()
if not count then
if not count or count.total == 0 then
return ''
end

Expand Down

0 comments on commit 6342735

Please sign in to comment.