File tree Expand file tree Collapse file tree 3 files changed +32
-15
lines changed Expand file tree Collapse file tree 3 files changed +32
-15
lines changed Original file line number Diff line number Diff line change 45
45
}
46
46
}
47
47
},
48
- "comments " : {
48
+ "commentBlock " : {
49
49
"patterns" : [
50
50
{
51
51
"name" : " comment.block" ,
52
52
"begin" : " \\ /\\ *" ,
53
- "end" : " \\ *\\ /"
54
- },
53
+ "end" : " \\ *\\ /" ,
54
+ "patterns" : [
55
+ {
56
+ "include" : " #commentBlock"
57
+ }
58
+ ]
59
+ }
60
+ ]
61
+ },
62
+ "comments" : {
63
+ "patterns" : [
55
64
{
56
- "name" : " comment.block.inline" ,
57
- "match" : " (\\ /\\ *).*?(?=\\ *\\ /)(\\ *\\ /)"
65
+ "include" : " #commentBlock"
58
66
},
59
67
{
60
68
"name" : " comment.line.double-slash" ,
90
98
},
91
99
"strings" : {
92
100
"name" : " string.unquoted" ,
93
- "begin" : " (?=\\ w)" ,
94
- "end" : " (?=\\ n|$|(\\ /\\ *)|(\\ /\\ /))" ,
101
+ "begin" : " (?=[ \\ w\\ -] )" ,
102
+ "end" : " (?=\\ n|$|(\\ /\\ *(?!.* \\ * \\ /) )|(\\ /\\ /))" ,
95
103
"patterns" : [
96
104
{
97
105
"include" : " #comments"
Original file line number Diff line number Diff line change @@ -40,14 +40,20 @@ repository:
40
40
- { include: "#numbers" }
41
41
- { include: "#strings" }
42
42
43
- comments :
43
+ commentBlock :
44
44
patterns :
45
45
- name : comment.block
46
46
begin : \/\*
47
47
end : \*\/
48
+ patterns :
49
+ - include : " #commentBlock"
50
+
51
+ comments :
52
+ patterns :
53
+ - include : " #commentBlock"
48
54
49
- - name : comment.block.inline
50
- match : (\/\*).*?(?=\*\/)(\*\/)
55
+ # - name: comment.block.inline
56
+ # match: (\/\*).*?(?=\*\/)(\*\/)
51
57
52
58
- name : comment.line.double-slash
53
59
begin : (^[ \t]+)?(?=//)
@@ -73,8 +79,8 @@ repository:
73
79
74
80
strings :
75
81
name : string.unquoted
76
- begin : (?=\w )
77
- end : (?=\n|$|(\/\*)|(\/\/))
82
+ begin : (?=[\w\-] )
83
+ end : (?=\n|$|(\/\*(?!.*\*\/) )|(\/\/))
78
84
patterns :
79
85
- include : " #comments"
80
86
- include : " #modulePath"
Original file line number Diff line number Diff line change @@ -15,20 +15,23 @@ AddSoundC/*ontainer = SoundContainer
15
15
FilePath = DarkStorm.rte/D22Bushi/D2TenguDeviceSwitch.wav
16
16
*/
17
17
18
+ /*
19
+ /* // adsdsa */
20
+ welcome to hell */
18
21
// asdasd
19
22
20
23
AddEffect = MOSParticle
21
- PresetName = D22Bushi Gib Blue Tiny /* */ dasdsadasd /*
24
+ PresetName = D22Bushi Gib Blue Tiny /**/ dasdsadasd /*
22
25
Mass = 0.92
23
26
Sharpness = 1
24
27
HitsMOs = 1
25
28
*/
26
29
GetsHitByMOs = 0
27
- SpriteFile = ContentFile
30
+ SpriteFile = ContentFile // dasdsa
28
31
FilePath = DarkStorm.rte/D22Bushi/D22BushiBlueGib.png
29
32
FrameCount = 1
30
33
SpriteOffset = Vector
31
- X = -2
34
+ X = -2 /**/
32
35
Y = -2
33
36
AngularVel = 6
34
37
Atom = Atom
You can’t perform that action at this time.
0 commit comments