We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dfab5e5 + e692e8a commit a3c4ec7Copy full SHA for a3c4ec7
compiler/src/dotty/tools/dotc/printing/SyntaxHighlighting.scala
@@ -5,9 +5,7 @@ package printing
5
import parsing.Tokens._
6
import scala.annotation.switch
7
import scala.collection.mutable.StringBuilder
8
-import core.Contexts.Context
9
import util.Chars
10
-import Highlighting.{Highlight, HighlightBuffer}
11
12
/** This object provides functions for syntax highlighting in the REPL */
13
object SyntaxHighlighting {
@@ -280,9 +278,12 @@ object SyntaxHighlighting {
280
278
case ' ' => true
281
279
case '\n' => true
282
case '(' => true
+ case ')' => true
283
case '[' => true
+ case ']' => true
284
case ':' => true
285
case '@' => true
286
+ case ',' => true
287
case '.' => true
288
case _ => false
289
}
0 commit comments