Removed outdated keywords
This commit is contained in:
parent
149bef7051
commit
712818b49e
1 changed files with 2 additions and 2 deletions
|
|
@ -13,7 +13,7 @@ var DartHighlightRules = function() {
|
|||
var constantLanguage = "true|false|null";
|
||||
var variableLanguage = "this|super";
|
||||
var keywordControl = "try|catch|finally|throw|break|case|continue|default|do|else|for|if|in|return|switch|while|new";
|
||||
var keywordDeclaration = "abstract|class|extends|external|factory|implements|interface|get|native|operator|set|typedef";
|
||||
var keywordDeclaration = "abstract|class|extends|external|factory|implements|get|native|operator|set|typedef";
|
||||
var storageModifier = "static|final|const";
|
||||
var storageType = "void|bool|num|int|double|Dynamic|var|String";
|
||||
|
||||
|
|
@ -52,7 +52,7 @@ var DartHighlightRules = function() {
|
|||
},
|
||||
{
|
||||
token: "keyword.other.import.dart",
|
||||
regex: "(?:\\b)(?:library|import|source|resource|part|of)(?:\\b)"
|
||||
regex: "(?:\\b)(?:library|import|source|part|of)(?:\\b)"
|
||||
},
|
||||
{
|
||||
token : ["keyword.other.import.dart", "text"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue