Fixed some higlighting rules to match modern Dart.

This commit is contained in:
Zef Hemel 2013-04-08 13:22:02 +02:00
commit 835f2e3690

View file

@ -52,7 +52,7 @@ var DartHighlightRules = function() {
}, },
{ {
token: "keyword.other.import.dart", token: "keyword.other.import.dart",
regex: "#(?:\\b)(?:library|import|source|resource)(?:\\b)" regex: "(?:\\b)(?:library|import|source|resource|part|part of)(?:\\b)"
}, },
{ {
token : ["keyword.other.import.dart", "text"], token : ["keyword.other.import.dart", "text"],