From b7ab168e0d2bbc942a45e354e2ed3feeac521992 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Eug=C3=AAnio?= Date: Thu, 9 Feb 2023 21:14:05 -0300 Subject: [PATCH] alacritty: fix hinting links on kakoune --- user/alacritty.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/user/alacritty.nix b/user/alacritty.nix index c2f7bd7..313b573 100644 --- a/user/alacritty.nix +++ b/user/alacritty.nix @@ -47,8 +47,11 @@ in "(mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)"; # I fucking hate regex, look at this bullshit delimiters = ''^\\u0000-\\u001F\\u007F-\\u009F<>"\\s{-}\\^⟨⟩`''; + # Kakoune uses these characters to represent whitespace, + # but alacritty doesn't know about them + whitespace_characters = ''¬·→''; in - "${mimes}[${delimiters}]+"; + "${mimes}[${delimiters}${whitespace_characters}]+"; command = "xdg-open"; post_processing = true; mouse = {