Added virtual keyword and organized keywords
This commit is contained in:
@@ -283,21 +283,25 @@
|
|||||||
},
|
},
|
||||||
"keywords": {
|
"keywords": {
|
||||||
"patterns": [
|
"patterns": [
|
||||||
|
{
|
||||||
|
"match": "\\b(true|false)\\b",
|
||||||
|
"name": "constant.language.boolean.mist"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"match": "\\b(if|else|while|for|return|break|continue|match|loop|in)\\b",
|
"match": "\\b(if|else|while|for|return|break|continue|match|loop|in)\\b",
|
||||||
"name": "keyword.control.mist"
|
"name": "keyword.control.mist"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"match": "\\b(struct|enum|class|trait|fn|let|impl|type|const|static)\\b",
|
"match": "\\b(struct|enum|class|trait|type)\\b",
|
||||||
|
"name": "storage.type.mist"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"match": "\\b(let|const|static|impl|virtual)\\b",
|
||||||
"name": "storage.modifier.mist"
|
"name": "storage.modifier.mist"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"match": "\\b(pub|mut|use|module|as|dyn|unsafe|self|super|Super|constructor|override)\\b",
|
"match": "\\b(pub|mut|use|module|as|dyn|unsafe|self|super|Super|constructor|override)\\b",
|
||||||
"name": "keyword.other.mist"
|
"name": "keyword.other.mist"
|
||||||
},
|
|
||||||
{
|
|
||||||
"match": "\\b(true|false)\\b",
|
|
||||||
"name": "constant.language.boolean.mist"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user