Module
This commit is contained in:
@@ -242,7 +242,7 @@
|
||||
"name": "storage.modifier.mist"
|
||||
},
|
||||
{
|
||||
"match": "\\b(pub|mut|use|mod|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"
|
||||
},
|
||||
{
|
||||
@@ -354,7 +354,7 @@
|
||||
"name": "meta.import.mist"
|
||||
},
|
||||
"modules": {
|
||||
"match": "(?:pub\\s+)?\\bmod\\s+([a-zA-Z_][a-zA-Z0-9_]*)\\s*;",
|
||||
"match": "(?:pub\\s+)?\\bmodule\\s+([a-zA-Z_][a-zA-Z0-9_]*)\\s*;",
|
||||
"captures": {
|
||||
"1": {
|
||||
"name": "entity.name.namespace.module.mist"
|
||||
|
||||
Reference in New Issue
Block a user