summaryrefslogtreecommitdiff
path: root/alacritty.yml
diff options
context:
space:
mode:
authorChristian Duerr <contact@christianduerr.com>2021-05-09 22:33:51 +0000
committerChristian Duerr <contact@christianduerr.com>2021-05-09 22:46:39 +0000
commit12b680158159dc8bb16898f7f570748f6879a625 (patch)
treee45e548fed9585864fa7a012e75ed4105c101bdc /alacritty.yml
parent3a33a70ebe9055ecfceb423a6d9351b080bc49cd (diff)
downloadalacritty-12b680158159dc8bb16898f7f570748f6879a625.tar.gz
alacritty-12b680158159dc8bb16898f7f570748f6879a625.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.yml2
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: