On 20/11/2005, at 17:41, Graham Ashton wrote:
{ name = "meta.quoted-text.email"; match = "^\s*>\s.*$\n?"; // make the newline part of the
match, if any }, { include = "text.plain"; }, // just include the text.plain rules
I added this to my new language: [...] { name = 'meta.quoted-text.email'; match = '^\s*>\s.*$\n?'; include = 'text.plain'; }
You collapsed two rules into one.
Is there much to know about syntax highlighting on a freshly defined scope? It seems like it should be very simple, so I suspect I've omitted something straightforward.
If you fix the rule above, it should work. You can press ctrl-shift P with the caret on quoted text to see what it is marked up as.