Add .gni extension; Allow nested dart block comments.
@@ -118,6 +118,7 @@ color8 = {
"cpp_line_comment": 2,
"cpp_string_literal": 2,
"current_line": 1,
+ "dart_nesting_block_comment": 2,
"debug_window": 1,
"default": 0,
"doc_block_comment": 3,
@@ -198,6 +199,7 @@ color16 = {
"cpp_line_comment": commentColor16Index,
"cpp_string_literal": stringColor16Index,
"current_line": 15,
+ "dart_nesting_block_comment": commentColor16Index,
"debug_window": defaultColor16Index,
"default": defaultColor16Index,
"doc_block_comment": commentColor16Index,
@@ -276,6 +278,7 @@ color256 = {
"cpp_line_comment": commentColorIndex,
"cpp_string_literal": stringColorIndex,
"current_line": 180,
+ "dart_nesting_block_comment": commentColorIndex,
"debug_window": defaultColorIndex,
"default": defaultColorIndex,
"doc_block_comment": commentColorIndex,
@@ -473,7 +476,7 @@ prefs = {
"tabToSpaces": True,
},
"gn": {
- "ext": [".gn"],
+ "ext": [".gn", ".gni"],
"grammar": "gn",
"tabToSpaces": True,
},
@@ -839,6 +842,23 @@ prefs = {
"c_string1",
"c_string2",
"cpp_line_comment",
+ "dart_nesting_block_comment",
+ ],
+ },
+ "dart_nesting_block_comment": {
+ "begin": r"/\*",
+ "continuation": " * ",
+ "end": r"\*/",
+ "indent": " ",
+ "keywords": [],
+ "special": [
+ r"\bNOTE:",
+ _todo,
+ __chrome_extension,
+ __sha_1,
+ ],
+ "contains": [
+ "dart_nesting_block_comment",
],
},
"doc_block_comment": {
