From 1f1db4deeef9043559ffb118cf0d7fe0a78bd01f Mon Sep 17 00:00:00 2001 From: Alan Hamlett Date: Sun, 26 Feb 2017 17:08:09 -0800 Subject: [PATCH] changes for v7.0.3 --- HISTORY.rst | 6 ++++++ wakatime/stats.py | 1 + 2 files changed, 7 insertions(+) diff --git a/HISTORY.rst b/HISTORY.rst index 53d812a..c06daa0 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -3,6 +3,12 @@ History ------- +7.0.3 (2017-02-26) +++++++++++++++++++ + +- Ability to prioritize common languages over uncommon lanuages. #81 + + 7.0.2 (2017-02-20) ++++++++++++++++++ diff --git a/wakatime/stats.py b/wakatime/stats.py index 9edf105..a8c09eb 100644 --- a/wakatime/stats.py +++ b/wakatime/stats.py @@ -305,6 +305,7 @@ def custom_pygments_guess_lexer_for_filename(_fn, _text, **options): return result[-1][1](**options) + CUSTOM_PRIORITIES = { 'perl': 0.1, 'perl6': 0.1,