vis icon indicating copy to clipboard operation
vis copied to clipboard

lexers: add mail lexer

Open silasdb opened this issue 5 years ago • 1 comments

silasdb avatar Dec 08 '20 14:12 silasdb

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?

silasdb avatar Dec 08 '20 17:12 silasdb

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.

ninewise avatar Nov 29 '22 22:11 ninewise