File tree Expand file tree Collapse file tree 2 files changed +4
-17
lines changed Expand file tree Collapse file tree 2 files changed +4
-17
lines changed Original file line number Diff line number Diff line change 1648
1648
"path" : " ra_syntax_tree.tmGrammar.json"
1649
1649
},
1650
1650
{
1651
- "scopeName" : " rustdoc.markdown.injection" ,
1651
+ "scopeName" : " source. rustdoc.markdown.injection" ,
1652
1652
"path" : " rustdoc.markdown.injection.tmGrammar.json" ,
1653
1653
"injectTo" : [
1654
1654
" source.rust"
Original file line number Diff line number Diff line change 1
1
{
2
- "scopeName" : " rustdoc.markdown.injection" ,
2
+ "$schema" : " https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json" ,
3
+ "scopeName" : " source.rustdoc.markdown.injection" ,
3
4
"injectionSelector" : " L:source.rust" ,
4
5
"patterns" : [
5
6
{
6
7
"include" : " #doc-comment-line"
7
- },
8
- {
9
- "include" : " #doc-comment-block"
10
8
}
11
9
],
12
10
"repository" : {
13
11
"doc-comment-line" : {
14
12
"name" : " comment.line.documentation.rust" ,
15
13
"begin" : " ^\\ s*//(/|!)" ,
16
- "while" : " ^\\ s*//(/|!)" ,
17
- "contentName" : " meta.embedded.block.markdown" ,
18
- "patterns" : [
19
- {
20
- "include" : " text.html.markdown"
21
- }
22
- ]
23
- },
24
- "doc-comment-block" : {
25
- "name" : " comment.block.documentation.rust" ,
26
- "begin" : " /\\ *(\\ *|!)" ,
27
- "end" : " \\ s*\\ */" ,
14
+ "end" : " $" ,
28
15
"contentName" : " meta.embedded.block.markdown" ,
29
16
"patterns" : [
30
17
{
You can’t perform that action at this time.
0 commit comments