make F# higher priority than Forth
This commit is contained in:
parent
c168dce11f
commit
29f3a99725
1 changed files with 2 additions and 1 deletions
|
@ -307,9 +307,10 @@ def custom_pygments_guess_lexer_for_filename(_fn, _text, **options):
|
||||||
|
|
||||||
|
|
||||||
CUSTOM_PRIORITIES = {
|
CUSTOM_PRIORITIES = {
|
||||||
|
'typescript': 0.11,
|
||||||
'perl': 0.1,
|
'perl': 0.1,
|
||||||
'perl6': 0.1,
|
'perl6': 0.1,
|
||||||
'typescript': 0.11,
|
'f#': 0.1,
|
||||||
}
|
}
|
||||||
def customize_priority(lexer):
|
def customize_priority(lexer):
|
||||||
"""Return an integer priority for the given lexer object."""
|
"""Return an integer priority for the given lexer object."""
|
||||||
|
|
Loading…
Reference in a new issue