Mercurial > hg
diff tests/test-default-push @ 6198:358cc9cf54db
highlight: guess by text when path name is ambiguous
Although the docs claim that guess_lexer_for_filename will fall back
to using file data, my ubuntu 7.10 pygments library seems to ignore
the text argument. So call guess_lexer explicitly on failure.
author | Brendan Cully <brendan@kublai.com> |
---|---|
date | Fri, 29 Feb 2008 14:47:07 -0800 |
parents | 6dbb8ae0a0b3 |
children |