make F# higher priority than Forth

This commit is contained in:
Alan Hamlett 2017-02-26 19:25:28 -08:00
parent c168dce11f
commit 29f3a99725

View file

@ -307,9 +307,10 @@ def custom_pygments_guess_lexer_for_filename(_fn, _text, **options):
CUSTOM_PRIORITIES = {
'typescript': 0.11,
'perl': 0.1,
'perl6': 0.1,
'typescript': 0.11,
'f#': 0.1,
}
def customize_priority(lexer):
"""Return an integer priority for the given lexer object."""