File tree 1 file changed +8
-5
lines changed
1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -35,10 +35,15 @@ contexts:
35
35
1 : keyword.other.special-method.dockerfile
36
36
push : args
37
37
38
+ escaped-char :
39
+ - match : \\.
40
+ scope : constant.character.escaped.dockerfile
41
+
38
42
args :
43
+ - include : comments
44
+ - include : escaped-char
39
45
- match : ^\s*$
40
46
- match : \\\s+$
41
- - include : comments
42
47
- match : \n
43
48
pop : true
44
49
- match : ' "'
@@ -52,25 +57,23 @@ contexts:
52
57
53
58
double_quote_string :
54
59
- meta_scope : string.quoted.double.dockerfile
60
+ - include : escaped-char
55
61
- match : ^\s*$
56
62
- match : \\\s+$
57
63
- match : \n
58
64
set : invalid
59
- - match : \\.
60
- scope : constant.character.escaped.dockerfile
61
65
- match : ' "'
62
66
captures :
63
67
0 : punctuation.definition.string.end.dockerfile
64
68
pop : true
65
69
66
70
single_quote_string :
67
71
- meta_scope : string.quoted.single.dockerfile
72
+ - include : escaped-char
68
73
- match : ^\s*$
69
74
- match : \\\s+$
70
75
- match : \n
71
76
set : invalid
72
- - match : \\.
73
- scope : constant.character.escaped.dockerfile
74
77
- match : " '"
75
78
captures :
76
79
0 : punctuation.definition.string.end.dockerfile
You can’t perform that action at this time.
0 commit comments