Comment #1 on issue 2104 by jsil...@koukaam.se: provide a way to map file
extensions to syntax highlighting
I hacked rng support with this nasty patch on
from pygments.lexers import XmlLexer
< lexer = get_lexer_for_filename(filename, stripnl=False,
lexer = XmlLexer(stripnl=False, encoding='utf-8')
lexer = get_lexer_for_filename(filename, stripnl=False,
But for real usability, there need be storage for custom pairs -
filepattern x lexer..
You received this message because you are subscribed to the Google Groups
To post to this group, send email to email@example.com.
To unsubscribe from this group, send email to
For more options, visit this group at