Added const and type aliases
This commit is contained in:
@@ -201,7 +201,7 @@
|
||||
"type_declarations": {
|
||||
"patterns": [
|
||||
{
|
||||
"match": "\\b(struct|enum|class|trait)\\s+([a-zA-Z_][a-zA-Z0-9_]*)",
|
||||
"match": "\\b(struct|enum|class|trait|type)\\s+([a-zA-Z_][a-zA-Z0-9_]*)",
|
||||
"captures": {
|
||||
"1": {
|
||||
"name": "storage.type.mist"
|
||||
@@ -238,7 +238,7 @@
|
||||
"name": "keyword.control.mist"
|
||||
},
|
||||
{
|
||||
"match": "\\b(struct|enum|class|trait|fn|let|impl|class)\\b",
|
||||
"match": "\\b(struct|enum|class|trait|fn|let|impl|type|const)\\b",
|
||||
"name": "storage.modifier.mist"
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user