Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
chrishrb committed Jan 16, 2024
1 parent 76c2d2c commit bbf44bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/gx/helper.lua
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ end

-- check that cursor on uri in normal mode
function M.check_if_cursor_on_url(mode, i, j)
if mode ~= "n" then
if mode ~= "n" or mode ~= "c" then
return true
end

Expand Down

0 comments on commit bbf44bf

Please sign in to comment.