forked from REditorSupport/vscode-R
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRcpp.json
More file actions
34 lines (34 loc) · 918 Bytes
/
Copy pathRcpp.json
File metadata and controls
34 lines (34 loc) · 918 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
"fileTypes": [],
"injectionSelector" : "L:source.cpp",
"patterns" : [
{
"include" : "#block"
}
],
"repository" :{
"block" : {
"patterns" : [
{"include" : "#rcpp"}
],
"repository" : {
"rcpp" : {
"begin" : "(^|\\G)(/[\\*]{3}\\sR\\s*)$",
"captures" : {
"2" : {
"name" : "comment.block.cpp"
}
},
"end" : "(^|\\G)(\\*/\\s*)($|\\z)",
"contentName" : "meta.embedded.block.r",
"patterns" : [
{
"include" : "source.r"
}
]
}
}
}
},
"scopeName" : "comment.block.r"
}