fix(hyperlinks): fix hyperlinks address
This commit is contained in:
@@ -10,7 +10,7 @@ CONFIG.hyperlink_rules = WEZTERM.default_hyperlink_rules()
|
|||||||
-- Add support for GitHub link style
|
-- Add support for GitHub link style
|
||||||
table.insert(CONFIG.hyperlink_rules, {
|
table.insert(CONFIG.hyperlink_rules, {
|
||||||
regex = [[["]?([\w\d]{1}[-\w\d]+)(/){1}([-\w\d\.]+)["]?]],
|
regex = [[["]?([\w\d]{1}[-\w\d]+)(/){1}([-\w\d\.]+)["]?]],
|
||||||
format = "https://wwwezterm.github.com/$1/$3",
|
format = "https://www.github.com/$1/$3",
|
||||||
})
|
})
|
||||||
|
|
||||||
return M
|
return M
|
||||||
|
|||||||
Reference in New Issue
Block a user