File tree Expand file tree Collapse file tree 1 file changed +17
-2
lines changed
integration/vscode/ada/syntaxes Expand file tree Collapse file tree 1 file changed +17
-2
lines changed Original file line number Diff line number Diff line change 11
11
"patterns" : [
12
12
{
13
13
"name" : " comment.line.ada" ,
14
- "match" : " --[^\\ n\\ r]*"
14
+ "begin" : " --" ,
15
+ "end" : " [\\ n\\ r]" ,
16
+ "patterns" : [
17
+ {
18
+ "include" : " #gnatdoc_tag"
19
+ }
20
+ ]
15
21
},
16
22
{
17
23
"name" : " constant.numeric.ada" ,
85
91
"based_literal" : {
86
92
"name" : " constant.numeric.ada" ,
87
93
"match" : " \\ d[0-9_]*#[0-9a-fA-F][0-9a-fA-F_]*(\\ .[0-9a-fA-F][0-9a-fA-F_]*)?#([eE][-+]?\\ d[0-9_]*)?"
94
+ },
95
+ "gnatdoc_tag" : {
96
+ "name" : " comment.gnatdoc.tag.ada" ,
97
+ "match" : " @(description|format|group|noformat|private|return|summary)|@(enum|exception|field|formal|image|param)[\\ t ]+([^\\ t ]*)" ,
98
+ "captures" : {
99
+ "3" : {
100
+ "name" : " comment.gnatdoc.id.ada"
101
+ }
102
+ }
88
103
}
89
104
}
90
- }
105
+ }
You can’t perform that action at this time.
0 commit comments