dart-atom / dart

A Dart plugin for Atom.
http://dart-atom.github.io/dart/
BSD 3-Clause "New" or "Revised" License
154 stars 44 forks source link

Inconsistent primitives [grammar] #1161

Open kevmoo opened 6 years ago

kevmoo commented 6 years ago

From source:

'match': '(?<!\\$)\\b(?:void|bool|num|int|double|dynamic|var)\\b(?!\\$)'
'name': 'storage.type.primitive.dart'

bool, num, int, double: these are all in dart:core. Why not add String, Object, List, etc.

Some ways to think of classification:

var, dynamic, void

All classes in dart:core

kevmoo commented 6 years ago

CC @devoncarew