It'd be useful to allow project admins to specify which syntax highlighting to use for new file extension patterns. E.g. bash scripts that don't end with .sh
This is currently implemented with pygments.lexers.get_lexer_for_filename in the app_globals.py highlight function. guess_lexer might be helpful
Log in to post a comment.