File tree 4 files changed +34
-2
lines changed
4 files changed +34
-2
lines changed Original file line number Diff line number Diff line change @@ -434,7 +434,7 @@ export const scalaTmLanguage: TmLanguage = {
434
434
]
435
435
} ,
436
436
'scala-quoted' : {
437
- match : "'\\{'|'\\('|'\\['|'\\ {|'\\(|'\\[ " ,
437
+ match : "('\\ {|'\\[)(?!') " ,
438
438
name : 'constant.other.quoted.scala'
439
439
} ,
440
440
'xml-doublequotedString' : {
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change
1
+ // SYNTAX TEST "source.scala"
2
+
3
+ '['
4
+ // ^ punctuation.definition.character.begin.scala
5
+ // ^ constant.character.literal.scala
6
+ // ^ punctuation.definition.character.end.scala
7
+
8
+ '{'
9
+ // ^ punctuation.definition.character.begin.scala
10
+ // ^ constant.character.literal.scala
11
+ // ^ punctuation.definition.character.end.scala
12
+
13
+ '('
14
+ // ^ punctuation.definition.character.begin.scala
15
+ // ^ constant.character.literal.scala
16
+ // ^ punctuation.definition.character.end.scala
17
+
18
+ '\n '
19
+ // ^ punctuation.definition.character.begin.scala
20
+ // ^^ constant.character.literal.scala
21
+ // ^ punctuation.definition.character.end.scala
Original file line number Diff line number Diff line change
1
+ // SYNTAX TEST "source.scala"
2
+
3
+ ' { 2 }
4
+ // ^^ constant.other.quoted.scala
5
+ // ^ constant.numeric.scala
6
+ // ^ punctuation.section.block.end.scala
7
+
8
+ ' [ String ]
9
+ // ^^ constant.other.quoted.scala
10
+ // ^^^^^^ storage.type.scala
11
+ // ^ meta.bracket.scala
You can’t perform that action at this time.
0 commit comments