We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84043ff commit b1db387Copy full SHA for b1db387
aiscript/syntaxes/aiscript.tmLanguage.json
@@ -8,6 +8,9 @@
8
"AiScript"
9
],
10
"patterns": [
11
+ {
12
+ "include": "#namespace"
13
+ },
14
{
15
"include": "#syntax"
16
},
@@ -75,6 +78,22 @@
75
78
}
76
79
]
77
80
81
+ "namespace": {
82
+ "patterns": [
83
84
+ "name": "meta.namespaceblock.aiscript",
85
+ "match": "^(:{2})\\s?([a-zA-Z0-9_]+)\\s?\\{",
86
+ "captures": {
87
+ "1": {
88
+ "name": "storage.type.aiscript"
89
90
+ "2": {
91
+ "name": "entity.name.class.aiscript"
92
+ }
93
94
95
+ ]
96
97
"functions": {
98
99
0 commit comments