From 48b1dc8101935c4383e54156c74659d1cd11f96c Mon Sep 17 00:00:00 2001 From: Kirill Chibisov Date: Thu, 23 Nov 2023 22:16:18 +0400 Subject: [PATCH] Fix default for [[hints.enabled]] in man pages The default was incomplete, since `command` was missing. --- extra/man/alacritty.5.scd | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/extra/man/alacritty.5.scd b/extra/man/alacritty.5.scd index 41a1ec4b..f05773bc 100644 --- a/extra/man/alacritty.5.scd +++ b/extra/man/alacritty.5.scd @@ -696,14 +696,17 @@ _action_ or a _command_. The _enabled_ field controls if the hint should be underlined when hovering over the hint text with all _mods_ pressed. -Default: [{ - regex = _"(ipfs:|ipns:|magnet:|mailto:|gemini://|gopher://|https://|http://|news:|file:|git://|ssh:|ftp://)[^\\u0000-\\u001F\\u007F-\\u009F<>\\"\\\\s{-}\\\\^⟨⟩`]+"_,++ -hyperlinks = _true_,++ -post_processing = _true_,++ -persist = _false_,++ -mouse = { enabled = _true_ },++ -binding = { key = _"U"_, mods = _"Control|Shift"_ },++ -}] + Default: + *[[hints.enabled]]*++ +command = _"xdg-open"_ # On Linux/BSD++ +# command = _"open"_ # On macOS++ +# command = { program = _"cmd"_, args = [ _"/c"_, _"start"_, _""_ ] } # On Windows++ +hyperlinks = _true_++ +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