File tree Expand file tree Collapse file tree 4 files changed +34
-2
lines changed Expand file tree Collapse file tree 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 = {
434434 ]
435435 } ,
436436 'scala-quoted' : {
437- match : "'\\{'|'\\('|'\\['|'\\ {|'\\(|'\\[ " ,
437+ match : "('\\ {|'\\[)(?!') " ,
438438 name : 'constant.other.quoted.scala'
439439 } ,
440440 '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