Fixed some higlighting rules to match modern Dart.
This commit is contained in:
parent
63930b52d1
commit
835f2e3690
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ var DartHighlightRules = function() {
|
|||
},
|
||||
{
|
||||
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"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue