Chromium Code Reviews| Index: tools/utils/textmate/Dart.tmbundle/Syntaxes/Dart.textmate |
| =================================================================== |
| --- tools/utils/textmate/Dart.tmbundle/Syntaxes/Dart.textmate (revision 10182) |
| +++ tools/utils/textmate/Dart.tmbundle/Syntaxes/Dart.textmate (working copy) |
| @@ -60,6 +60,9 @@ |
| }; |
| keywords = { |
| patterns = ( |
| + { name = 'keyword.cast.dart'; |
| + match = '\b(as)\b'; |
|
Bob Nystrom
2012/08/02 18:00:26
Don't need the parentheses since there's just one
pquitslund
2012/08/02 18:19:06
Right. Fixed!
|
| + }, |
| { name = 'keyword.control.catch-exception.dart'; |
| match = '\b(try|catch|finally|throw)\b'; |
| }, |
| @@ -103,7 +106,7 @@ |
| match = ';'; |
| }, |
| { name = 'storage.modifier.dart'; |
| - match = '\b(static|final|native|abstract|const|class|interface)\b'; |
| + match = '\b(static|final|native|abstract|const|class|interface|get|set|operator|external)\b'; |
|
Bob Nystrom
2012/08/02 18:00:26
Should "patch" go in here too?
pquitslund
2012/08/02 18:19:06
Hmmm... I think that's a dartp-ism and I'm not wi
|
| }, |
| { name = 'storage.type.primitive.dart'; |
| match = '\b(?:void|bool|num|int|double|Dynamic|var)\b'; |