Skip to content

Commit

Permalink
Fix highlighting for Python and SCIO (apache#22600)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeyinkin committed Sep 23, 2022
1 parent 63919e4 commit e00889a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,11 @@ class Sdk with EquatableMixin {
return known.firstWhereOrNull((e) => e.id == value);
}

static final _idToHighlightMode = {
static final _idToHighlightMode = <String, Mode>{
Sdk.java.id: mode_java.java,
Sdk.go.id: mode_go.go,
Sdk.python: mode_python.python,
Sdk.scio: mode_scala.scala,
Sdk.python.id: mode_python.python,
Sdk.scio.id: mode_scala.scala,
};

Mode? get highlightMode => _idToHighlightMode[id];
Expand Down

0 comments on commit e00889a

Please sign in to comment.