wezterm: hyperlink rust error codes
This commit is contained in:
parent
b9779d4df4
commit
57a007be9d
1 changed files with 8 additions and 0 deletions
|
@ -168,6 +168,14 @@ config.window_padding = {
|
|||
bottom = 0,
|
||||
}
|
||||
|
||||
-- Hyperlinks
|
||||
config.hyperlink_rules = wezterm.default_hyperlink_rules()
|
||||
|
||||
table.insert(config.hyperlink_rules, {
|
||||
regex = [[`rustc --explain E(\d+)`]],
|
||||
format = "https://doc.rust-lang.org/error_codes/E$1.html",
|
||||
})
|
||||
|
||||
-- Tabs
|
||||
config.enable_tab_bar = false
|
||||
config.tab_bar_at_bottom = true
|
||||
|
|
Loading…
Reference in a new issue