This commit is contained in:
2026-06-16 16:40:54 +02:00
parent f1b87602a9
commit 5bd9e78f7e
+2 -2
View File
@@ -242,7 +242,7 @@
"name": "storage.modifier.mist" "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" "name": "keyword.other.mist"
}, },
{ {
@@ -354,7 +354,7 @@
"name": "meta.import.mist" "name": "meta.import.mist"
}, },
"modules": { "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": { "captures": {
"1": { "1": {
"name": "entity.name.namespace.module.mist" "name": "entity.name.namespace.module.mist"