Skip to content

Commit 7debb70

Browse files
committed
Support top-level case construct in GPR syntax highlighting
1 parent c29e42d commit 7debb70

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

integration/vscode/ada/syntaxes/gpr.tmLanguage.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@
276276
},
277277
"project": {
278278
"name": "meta.project.gpr",
279-
"begin": "(?i)\\b(?:(abstract|aggregate|library)\\s+)?(project)\\s+((?:\\w|\\d|_)+)\\b",
279+
"begin": "(?i)\\b(?:(abstract|aggregate|library|standard)\\s+)?(project)\\s+((?:\\w|\\d|_)+)\\b",
280280
"end": "(?i)\\b(end)\\s+(\\3)\\s*(;)",
281281
"beginCaptures": {
282282
"1": { "name": "keyword.gpr" },
@@ -304,7 +304,8 @@
304304
{ "include": "#comment" },
305305
{ "include": "#attribute" },
306306
{ "include": "#type" },
307-
{ "include": "#variable" }
307+
{ "include": "#variable" },
308+
{ "include": "#case_construction" }
308309
]
309310
},
310311
{

0 commit comments

Comments
 (0)