lexers: add mail lexer
On Tue, Dec 08, 2020 at 09:29:16AM -0800, Marc André Tanner wrote:
Could you please enforce that header field names need to start with a capital letter? Otherwise URLs at the start of lines are also highlighted.
Sure, I will do that.
Would it make sense to recognize inline PGP blocks? MIME sections? Mail signatures?
In general I wouldn't spend much time on it, but a more strict header field name rule seems useful.
Perfect. I'll work on that. Besides improving header field parsing, and adding PGP blocks, MIME sections and mail signatures, what else am I missing?
Could you send the changes to the lexers upstream instead, to https://github.com/orbitalquark/scintillua? We're going to avoid diverging. The filetype changes are welcome, though, when you've send the actual lexer upstream.