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.
Loading
Please register or sign in to comment