]> git.sthu.org Git - mutt-gruvbox.git/commitdiff
Fix highlighting URLS with schema
authorStefan Huber <shuber@sthu.org>
Sat, 15 Jan 2022 12:51:39 +0000 (13:51 +0100)
committerStefan Huber <shuber@sthu.org>
Sat, 15 Jan 2022 12:51:39 +0000 (13:51 +0100)
colors-gruvbox-shuber.muttrc

index 4339fabee88a2716fe46ed210812308686f00697..8dd8d190acdc4ef184429c59f0b6598aaf7ad1ed 100644 (file)
@@ -63,10 +63,15 @@ color header color108 color234 "^X-Spam-Status:"
 color header color108 color234 "^Received:"
 
 # BSD's regex has RE_DUP_MAX set to 255.
-color body color142 color234 "[a-z]{3,255}://[-a-zA-Z0-9@:%._\\+~#=/?&,]+"
+# schema://stuff
+color body color142 color234 "[a-z]{3,255}://[-a-zA-Z0-9@:%._\\+~#=/?&,;]+"
+# fully qualified hostnames
 color body color142 color234 "[a-zA-Z]([-a-zA-Z0-9_]+\\.){2,255}[-a-zA-Z0-9_]{2,255}"
+# mail addresses
 color body color208 color234 "[-a-z_0-9.%$]+@[-a-z_0-9.]+\\.[-a-z][-a-z]+"
+# mailto URLS
 color body color208 color234 "mailto:[-a-z_0-9.]+@[-a-z_0-9.]+"
+# some simleys
 color body color234 color214 "[;:]-*[)>(<lt;|]"
 color body color229 color234 "\\*[- A-Za-z]+\\*"