Fix default for [[hints.enabled]] in man pages

The default was incomplete, since `command` was missing.
This commit is contained in:
Kirill Chibisov 2023-11-23 22:16:18 +04:00
parent da69839c6b
commit 48b1dc8101
1 changed files with 11 additions and 8 deletions

View File

@ -696,14 +696,17 @@ _action_ or a _command_.
The _enabled_ field controls if the hint should be underlined when The _enabled_ field controls if the hint should be underlined when
hovering over the hint text with all _mods_ pressed. hovering over the hint text with all _mods_ pressed.
Default: [{ Default:
regex = _"(ipfs:|ipns:|magnet:|mailto:|gemini://|gopher://|https://|http://|news:|file:|git://|ssh:|ftp://)[^\\u0000-\\u001F\\u007F-\\u009F<>\\"\\\\s{-}\\\\^⟨⟩`]+"_,++ *[[hints.enabled]]*++
hyperlinks = _true_,++ command = _"xdg-open"_ # On Linux/BSD++
post_processing = _true_,++ # command = _"open"_ # On macOS++
persist = _false_,++ # command = { program = _"cmd"_, args = [ _"/c"_, _"start"_, _""_ ] } # On Windows++
mouse = { enabled = _true_ },++ hyperlinks = _true_++
binding = { key = _"U"_, mods = _"Control|Shift"_ },++ post_processing = _true_++
}] persist = _false_++
mouse.enabled = _true_++
binding = { key = _"U"_, mods = _"Control|Shift"_ }++
regex = _"(ipfs:|ipns:|magnet:|mailto:|gemini://|gopher://|https://|http://|news:|file:|git://|ssh:|ftp://)[^\\u0000-\\u001F\\u007F-\\u009F<>\\"\\\\s{-}\\\\^⟨⟩`]+"_
# KEYBOARD # KEYBOARD