git-touch / highlight.dart

Syntax highlighting for Dart and Flutter
https://git-touch.github.io/highlight/
MIT License
234 stars 85 forks source link

Code issue #40

Open theRealProHacker opened 1 year ago

theRealProHacker commented 1 year ago

I think you could replace this

final _languages = {}.cast<String, Mode>()

with this

final _languages = <String, Mode>{};