diff options
author | Christian Duerr <contact@christianduerr.com> | 2021-05-09 22:33:51 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-09 22:33:51 +0000 |
commit | d94c1e97a894cceb89237717a157d05e1a48f586 (patch) | |
tree | c3f3b64ad88f755463bcb660b2318bc922bbc7e1 /alacritty.yml | |
parent | 0936aa6e8d319094c63ea8a79715c732b0fd4902 (diff) | |
download | alacritty-d94c1e97a894cceb89237717a157d05e1a48f586.tar.gz alacritty-d94c1e97a894cceb89237717a157d05e1a48f586.zip |
Fix URL highlighting with unicode whitespace
The URL highlighting regex would automatically terminate on an ascii
whitespace, however there are several other forms of whitespace that are
indistinguisable to a user from normal whitespace. To make things a
little more intuitive, all unicode whitespace will now terminate URLs.
Diffstat (limited to 'alacritty.yml')
-rw-r--r-- | alacritty.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alacritty.yml b/alacritty.yml index 00e56898..4fdbb1f9 100644 --- a/alacritty.yml +++ b/alacritty.yml @@ -479,7 +479,7 @@ # Move the vi mode cursor to the beginning of the hint. #enabled: # - regex: "(mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)\ - # [^\u0000-\u001F\u007F-\u009F<>\" {-}\\^⟨⟩`]+" + # [^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩`]+" # command: xdg-open # post_processing: true # mouse: |