-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Description
In helix-editor/helix (which uses UserNobody14/tree-sitter-dart), enhanced enums break syntax highlighting in the remainder of the file
enum TapActionButton {
right('right'),
left('left');
final String keys;
const TapActionButton(this.keys);
static TapActionButton fromKey(String key) =>
TapActionButton.values.singleWhere((e) => e.keys.contains(key));
}Metadata
Metadata
Assignees
Labels
No labels