File tree 2 files changed +12
-4
lines changed
2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 100
100
"comment" : {
101
101
"name" : " comment" ,
102
102
"patterns" : [
103
+ { "include" : " #comment-line" },
103
104
{ "include" : " #comment-block-doc" },
104
- { "include" : " #comment-block" }
105
+ { "include" : " #comment-block" }
106
+ ]
107
+ },
108
+ "comment-line" : {
109
+ "begin" : " (^[ \\ t]+)?((//))" ,
110
+ "end" : " (?=^)" ,
111
+ "name" : " comment.line" ,
112
+ "patterns" : [
113
+ { "include" : " #comment" }
105
114
]
106
115
},
107
116
"comment-block" : {
2276
2285
]
2277
2286
}
2278
2287
}
2279
- }
2288
+ }
Original file line number Diff line number Diff line change 1
1
{
2
2
".source.reason" : {
3
3
"editor" : {
4
- "commentStart" : " /* " ,
5
- "commentEnd" : " */" ,
4
+ "commentStart" : " // " ,
6
5
"foldEndPattern" : " ^\\ s*\\ }|^\\ s*\\ ]|^\\ s*\\ )" ,
7
6
"increaseIndentPattern" : " (?x) \\ { [^}\" ']* $ | \\ [ [^\\ ]\" ']* $ | \\ ( [^)\" ']* $" ,
8
7
"decreaseIndentPattern" : " (?x) ^ \\ s* (\\ s* /[*] .* [*]/ \\ s*)* [}\\ ])]" ,
You can’t perform that action at this time.
0 commit comments