tyru / open-browser.vim

Open URI with your favorite browser from your most favorite editor
http://www.vim.org/scripts/script.php?script_id=3133
Other
509 stars 48 forks source link

URL detection with previous colon : and parenthesis ( #136

Closed arturoherrero closed 1 year ago

arturoherrero commented 4 years ago

I've found one issue related to URL detection.

For example, having this line:

def whitelist_query_limiting
  Gitlab::QueryLimiting.whitelist('https://gitlab.com/gitlab-org/gitlab-foss/issues/42430')
end

When I try gx over the URL, it's giving me the following error:

open-browser doesn't know how to open 'Gitlab://QueryLimiting.whitelist'

I think the problem is related to the previous colon : and parenthesis ( or the combination of both.