Skip to content

Broken syntax highlighting when the default import is named "from" #891

@fabiospampinato

Description

@fabiospampinato

TS and JS Grammar Extension version: latest

Code

import from from './from';

Visual output

Screen Shot 2021-11-05 at 15 18 51

If the name assigned to the default export is "from" then it gets highlighted improperly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Effort: DifficultGood luck.limitationIssue is result of tmLanguage limitation where in the lookup does not go beyond current line

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions