Skip to content

Commit

Permalink
fix: no need to detected_urls_set many times (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
phanen authored Aug 6, 2024
1 parent 44c4644 commit 2806091
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/gx/handler.lua
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ function M.get_url(mode, line, configured_handlers, handler_options)
then
if detected_urls_set[url] == nil then
detected_urls[#detected_urls + 1] = { ["name"] = handler.name, ["url"] = url }
detected_urls_set[url] = true
end
detected_urls_set[url] = true
end
end

Expand Down

0 comments on commit 2806091

Please sign in to comment.