mirror of
https://github.com/ejwa/gitinspector.git
synced 2024-09-27 18:01:30 +02:00
Added support for comments in .hh files.
This commit is contained in:
parent
abbeed5356
commit
a1d83ead9e
@ -19,16 +19,16 @@
|
|||||||
|
|
||||||
from __future__ import unicode_literals
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
__comment_begining__ = {"java": "/*", "c": "/*", "cc": "/*", "cpp": "/*", "h": "/*", "hpp": "/*", "html": "<!--", "php": "/*",
|
__comment_begining__ = {"java": "/*", "c": "/*", "cc": "/*", "cpp": "/*", "h": "/*", "hh": "/*", "hpp": "/*", "html": "<!--",
|
||||||
"py": "\"\"\"", "glsl": "/*", "rb": "=begin", "js": "/*", "jspx": "<!--", "scala": "/*", "sql": "/*",
|
"php": "/*", "py": "\"\"\"", "glsl": "/*", "rb": "=begin", "js": "/*", "jspx": "<!--", "scala": "/*",
|
||||||
"tex": "\\begin{comment}", "xhtml": "<!--", "xml": "<!--"}
|
"sql": "/*", "tex": "\\begin{comment}", "xhtml": "<!--", "xml": "<!--"}
|
||||||
|
|
||||||
__comment_end__ = {"java": "*/", "c": "*/", "cc": "*/", "cpp": "*/", "h": "*/", "hpp": "*/", "html": "-->", "php": "/*",
|
__comment_end__ = {"java": "*/", "c": "*/", "cc": "*/", "cpp": "*/", "h": "*/", "hh": "*/", "hpp": "*/", "html": "-->",
|
||||||
"py": "\"\"\"", "glsl": "*/", "rb": "=end", "js": "*/", "jspx": "-->", "scala": "*/", "sql": "*/",
|
"php": "/*", "py": "\"\"\"", "glsl": "*/", "rb": "=end", "js": "*/", "jspx": "-->", "scala": "*/",
|
||||||
"tex": "\\end{comment}", "xhtml": "-->", "xml": "-->"}
|
"sql": "*/", "tex": "\\end{comment}", "xhtml": "-->", "xml": "-->"}
|
||||||
|
|
||||||
__comment__ = {"java": "//", "c": "//", "cc": "//", "cpp": "//", "h": "//", "hpp": "//", "pl": "#", "php": "//", "py": "#",
|
__comment__ = {"java": "//", "c": "//", "cc": "//", "cpp": "//", "h": "//", "hh": "//", "hpp": "//", "pl": "#", "php": "//",
|
||||||
"glsl": "//", "rb": "#", "js": "//", "scala": "//", "sql": "--", "tex": "%"}
|
"py": "#", "glsl": "//", "rb": "#", "js": "//", "scala": "//", "sql": "--", "tex": "%"}
|
||||||
|
|
||||||
__comment_markers_must_be_at_begining__ = {"tex": True}
|
__comment_markers_must_be_at_begining__ = {"tex": True}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user