mirror of
https://github.com/rwinkhart/go-highlite.git
synced 2026-09-05 16:37:20 -04:00
Minor fixes and additional colorscheme support
This commit is contained in:
@@ -5,7 +5,7 @@ detect:
|
||||
header: "^From .* \\d+:\\d+:\\d+ \\d+"
|
||||
|
||||
rules:
|
||||
- yellow: "^From .*"
|
||||
- type: "^From .*"
|
||||
- identifier: "^[^[:space:]]+:"
|
||||
- preproc: "^List-(Id|Archive|Subscribe|Unsubscribe|Post|Help):"
|
||||
- constant: "^(To|From):"
|
||||
@@ -14,7 +14,7 @@ rules:
|
||||
end: "$"
|
||||
rules:
|
||||
- constant.specialChar: "\\\\."
|
||||
- statement: "<?[^@[:space:]]+@[^[:space:]]+>?""
|
||||
- statement: "<?[^@[:space:]]+@[^[:space:]]+>?"
|
||||
- default:
|
||||
start: "^\\n\\n"
|
||||
end: ".*"
|
||||
|
||||
Reference in New Issue
Block a user