1
0
Fork 0

- reworked a few regular expressions to fix mentions coloring.

This commit is contained in:
cage 2022-12-08 19:23:41 +01:00
parent d72ab12a8b
commit 185ec6aa3b
2 changed files with 14 additions and 14 deletions

View File

@ -107,18 +107,6 @@ color-regexp = "[0-9]{4}-[0-9]?[0-9]-[0-9]?[0-9]" #0000ff bo
color-regexp = "-?[0-9]+(.[0-9]+)?%" #ff00ff bold
# *bold*
color-regexp = "\*[^*]+\*" #ffff00 bold
# _underline_
color-regexp = "_[^_]+_" #ffff00 underline
# /italic/ , commented as interferes with file path and URI
#color-regexp = "/[^/]+/" #ffff00 italic
# by default polls uses that
color-regexp = "⯀" green bold
@ -135,7 +123,7 @@ color-regexp = "[012][0-9]:[0123456][0-9]" cyan bold
# mentions
color-regexp = "@[a-zA-Z0-9]+ " cyan
color-regexp = "@[^\s]+" cyan
# gemini colorization
@ -167,6 +155,18 @@ color-regexp = ":aborted" red
color-regexp = ":rendering" cyan
# _underline_
color-regexp = "_[^_]+_" #ffff00 underline
# *bold*
color-regexp = "\*[^*]+\*" #ffff00 bold
# /italic/ , commented as interferes with file path and URI
#color-regexp = "/[^/]+/" #ffff00 italic
# The width of the generated table of contents for gemini pages when
# tinmop is ran as exclusive gemini client (command line option "-G")

View File

@ -121,7 +121,7 @@
(label-subject-raw (_ "Subject: "))
(label-visibility-raw (_ "Visibility: "))
(label-reply-length-raw (length label-reply-raw))
(label-mentions-length-raw (length label-mentions-raw))
(label-mentions-length-raw (length label-mentions-raw))
(label-subject-raw-length (length label-subject-raw))
(label-visibility-raw-length (length label-visibility-raw))
(max-field-length (max label-reply-length-raw