Added support for comments in .scala files.

This commit is contained in:
Adam Waldenberg 2013-10-28 02:10:09 +01:00
parent 998ec7456f
commit 1a828136b5
1 changed files with 3 additions and 3 deletions

View File

@ -20,15 +20,15 @@
from __future__ import unicode_literals
__comment_begining__ = {"java": "/*", "c": "/*", "cpp": "/*", "h": "/*", "hpp": "/*", "html": "<!--", "php": "/*",
"py": "\"\"\"", "glsl": "/*", "rb": "=begin", "js": "/*", "jspx": "<!--", "sql": "/*",
"py": "\"\"\"", "glsl": "/*", "rb": "=begin", "js": "/*", "jspx": "<!--", "scala": "/*", "sql": "/*",
"tex": "\\begin{comment}", "xhtml": "<!--", "xml": "<!--"}
__comment_end__ = {"java": "*/", "c": "*/", "cpp": "*/", "h": "*/", "hpp": "*/", "html": "-->", "php": "/*",
"py": "\"\"\"", "glsl": "*/", "rb": "=end", "js": "*/", "jspx": "-->", "sql": "*/",
"py": "\"\"\"", "glsl": "*/", "rb": "=end", "js": "*/", "jspx": "-->", "scala": "*/", "sql": "*/",
"tex": "\\end{comment}", "xhtml": "-->", "xml": "-->"}
__comment__ = {"java": "//", "c": "//", "cpp": "//", "h": "//", "hpp": "//", "pl": "#", "php": "//", "py": "#",
"glsl": "//", "rb": "#", "js": "//", "sql": "--", "tex": "%"}
"glsl": "//", "rb": "#", "js": "//", "scala": "//", "sql": "--", "tex": "%"}
__comment_markers_must_be_at_begining__ = {"tex": True}