Increase the default set of recognized URL prefixes

This commit is contained in:
Kovid Goyal 2021-03-15 12:17:15 +05:30
parent 271c39cc9d
commit 543b7dcf94
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -566,7 +566,7 @@ def url_prefixes(x: str) -> Tuple[str, ...]:
return tuple(a.lower() for a in x.replace(',', ' ').split())
o('url_prefixes', 'http https file ftp gemini', option_type=url_prefixes, long_text=_('''
o('url_prefixes', 'http https file ftp gemini irc gopher mailto news git', option_type=url_prefixes, long_text=_('''
The set of URL prefixes to look for when detecting a URL under the mouse cursor.'''))
o('detect_urls', True, long_text=_('''