edgedb-editor-plugin
edgedb-editor-plugin copied to clipboard
Missing `|` and `&` from syntax highlighting
These characters are parsed as just source.edgeql instead of keyword.operator.edgeql and source.edgeql.
The problem is that:
- we generate this grammar from introspecting the schema,
- operators are generated from
schema::Operator, -
|and&are not operators, since they are used in type expressions.
We should add a way to mark tokens other than actual operators as operators.