OLD | NEW |
1 { scopeName = 'source.dart'; | 1 { scopeName = 'source.dart'; |
2 fileTypes = ( 'dart' ); | 2 fileTypes = ( 'dart' ); |
3 foldingStartMarker = '\{\s*$'; | 3 foldingStartMarker = '\{\s*$'; |
4 foldingStopMarker = '^\s*\}'; | 4 foldingStopMarker = '^\s*\}'; |
5 patterns = ( | 5 patterns = ( |
6 { name = 'meta.preprocessor.script.dart'; | 6 { name = 'meta.preprocessor.script.dart'; |
7 match = '^(#!.*)$'; | 7 match = '^(#!.*)$'; |
8 }, | 8 }, |
9 { name = 'meta.declaration.dart'; | 9 { name = 'meta.declaration.dart'; |
10 begin = '#\b(library|import|source|resource)\b'; | 10 begin = '#\b(library|import|source|resource)\b'; |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 { name = 'keyword.operator.logical.dart'; | 105 { name = 'keyword.operator.logical.dart'; |
106 match = '(!|&&|\|\|)'; | 106 match = '(!|&&|\|\|)'; |
107 }, | 107 }, |
108 { name = 'punctuation.terminator.dart'; | 108 { name = 'punctuation.terminator.dart'; |
109 match = ';'; | 109 match = ';'; |
110 }, | 110 }, |
111 { name = 'storage.modifier.dart'; | 111 { name = 'storage.modifier.dart'; |
112 match = '\b(static|final|const)\b'; | 112 match = '\b(static|final|const)\b'; |
113 }, | 113 }, |
114 { name = 'storage.type.primitive.dart'; | 114 { name = 'storage.type.primitive.dart'; |
115 » » » » » match = '\b(?:void|bool|num|int|double|D
ynamic|var|String)\b'; | 115 » » » » » match = '\b(?:void|bool|num|int|double|d
ynamic|var|String)\b'; |
116 }, | 116 }, |
117 ); | 117 ); |
118 }; | 118 }; |
119 string-interp = { | 119 string-interp = { |
120 patterns = ( | 120 patterns = ( |
121 { match = '\$((\w+)|\{(\w+)\})'; | 121 { match = '\$((\w+)|\{(\w+)\})'; |
122 captures = { | 122 captures = { |
123 2 = { name = 'variable.parameter
.dart'; }; | 123 2 = { name = 'variable.parameter
.dart'; }; |
124 3 = { name = 'variable.parameter
.dart'; }; | 124 3 = { name = 'variable.parameter
.dart'; }; |
125 }; | 125 }; |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 patterns = ( | 175 patterns = ( |
176 { name = 'invalid.string.n
ewline'; | 176 { name = 'invalid.string.n
ewline'; |
177 match = '\n'; | 177 match = '\n'; |
178 }, | 178 }, |
179 ); | 179 ); |
180 }, | 180 }, |
181 ); | 181 ); |
182 }; | 182 }; |
183 }; | 183 }; |
184 } | 184 } |
OLD | NEW |