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 2463ac8 commit cdef6ccCopy full SHA for cdef6cc
syntaxes/objectscript.tmLanguage.json
@@ -3,6 +3,13 @@
3
"name": "objectscript",
4
"scopeName": "source.objectscript",
5
"patterns": [
6
+ {
7
+ "match": "^(ROUTINE)\\s(\\b[a-zA-Z0-9]+\\b)",
8
+ "captures": {
9
+ "1": { "name": "keyword.control" },
10
+ "2": { "name": "entity.name.class" }
11
+ }
12
+ },
13
{
14
"include": "#comments"
15
},
@@ -153,8 +160,12 @@
153
160
"elements": {
154
161
155
162
156
- "match": "^[a-zA-Z0-9]+",
157
- "name": "entity.name.function"
163
+ "match": "^([a-zA-Z0-9]+)(\\([^)]*\\))(?:\\s+(public|private))?",
164
165
+ "1": { "name": "entity.name.function" },
166
+ "2": { "name": "other" },
167
+ "3": { "name": "keyword.other" }
168
158
169
159
170
171
"match": "(?i)(##class)(\\()([^)]+)(\\))",
0 commit comments