From f60815b8134afdb4ce8f98efb2f2308c128a01ea Mon Sep 17 00:00:00 2001 From: Alan Hamlett Date: Sun, 3 Nov 2013 11:36:43 -0800 Subject: [PATCH] upgrade wakatime package to recognize .markdown file extension --- packages/wakatime/wakatime/stats.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/wakatime/wakatime/stats.py b/packages/wakatime/wakatime/stats.py index 8e50279..85703b3 100644 --- a/packages/wakatime/wakatime/stats.py +++ b/packages/wakatime/wakatime/stats.py @@ -25,8 +25,9 @@ log = logging.getLogger(__name__) # force file name extensions to be recognized as a certain language EXTENSIONS = { - 'md': 'Markdown', 'j2': 'HTML', + 'markdown': 'Markdown', + 'md': 'Markdown', } TRANSLATIONS = { 'CSS+Genshi Text': 'CSS',