Closed Zamiell closed 1 year ago
TS and JS Grammar Extension version: 1.4.0
Code
const v = { room: { /** Indexed by grid index. */ initializedGridEntities: new Map< int, [gridEntityType: GridEntityType, state: int] >(), }, };
It looks like this in VSCode:
Notice how the final characters should be white, but they are instead blue because the named tuple messes the rest of the block up.
This is limitation of tmGrammr Map< is treated as relational operator instead of type argument start because we cant lookup beyond the line. Duplicate of #738
Map<
TS and JS Grammar Extension version: 1.4.0
Code
It looks like this in VSCode:
Notice how the final characters should be white, but they are instead blue because the named tuple messes the rest of the block up.