You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Details
Request: #245
Adds support for several URLs out of the box in addition to default web:
- youtube.com
- github.com
- neovim.io
- stackoverflow.com
- discord.com
- reddit.com
2 other changes have been made to make configuring custom links easier:
- The highlight gets pulled from the top level `link.highlight` option
if a link specific one is not specified. This makes it so you don't
need to copy `RenderMarkownLink` repeatedly while being backwards
compatible and allowing users to override behavior.
- When multiple patterns match a link we break ties by picking the
longer pattern, idea being more specific pattern = longer pattern.
However patterns can be long for other reason like the original
default web pattern `^http[s]?://`, to make overriding this value more
likely the pattern has been shortened to `^http`.
0 commit comments