From 146a9597476126df14999ff6fdea89bcb0e59262 Mon Sep 17 00:00:00 2001 From: Alan Hamlett Date: Thu, 31 Oct 2013 17:19:17 -0700 Subject: [PATCH] recognize jinja2 file extensions as HTML --- packages/wakatime/wakatime/stats.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/wakatime/wakatime/stats.py b/packages/wakatime/wakatime/stats.py index c7a9973..8e50279 100644 --- a/packages/wakatime/wakatime/stats.py +++ b/packages/wakatime/wakatime/stats.py @@ -26,6 +26,7 @@ log = logging.getLogger(__name__) # force file name extensions to be recognized as a certain language EXTENSIONS = { 'md': 'Markdown', + 'j2': 'HTML', } TRANSLATIONS = { 'CSS+Genshi Text': 'CSS', @@ -35,6 +36,7 @@ TRANSLATIONS = { 'JavaScript+Genshi Text': 'JavaScript', 'JavaScript+Lasso': 'JavaScript', 'Perl6': 'Perl', + 'RHTML': 'HTML', }