From 3c48789890475c9b2949087ff8657571d8419727 Mon Sep 17 00:00:00 2001 From: Gregrs Date: Thu, 10 Dec 2015 07:34:18 +0000 Subject: [PATCH] Recognise Lilypond (.ly and .ily) comments --- gitinspector/comment.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gitinspector/comment.py b/gitinspector/comment.py index 36dd687..ea68c54 100644 --- a/gitinspector/comment.py +++ b/gitinspector/comment.py @@ -22,16 +22,16 @@ from __future__ import unicode_literals __comment_begining__ = {"java": "/*", "c": "/*", "cc": "/*", "cpp": "/*", "cs": "/*", "h": "/*", "hh": "/*", "hpp": "/*", "hs": "{-", "html": "", "php": "/*", "py": "\"\"\"", "glsl": "*/", "rb": "=end", "js": "*/", "jspx": "-->", "scala": "*/", "sql": "*/", "tex": "\\end{comment}", "xhtml": "-->", "xml": "-->", "ml": "*)", "mli": "*)", - "go": "*/"} + "go": "*/", "ly": "%}", "ily": "%}"} __comment__ = {"java": "//", "c": "//", "cc": "//", "cpp": "//", "cs": "//", "h": "//", "hh": "//", "hpp": "//", "hs": "--", "pl": "#", "php": "//", "py": "#", "glsl": "//", "rb": "#", "robot": "#", "js": "//", "scala": "//", "sql": "--", - "tex": "%", "ada": "--", "ads": "--", "adb": "--", "pot": "#", "po": "#", "go": "//"} + "tex": "%", "ada": "--", "ads": "--", "adb": "--", "pot": "#", "po": "#", "go": "//", "ly": "%", "ily": "%"} __comment_markers_must_be_at_begining__ = {"tex": True}