Skip to content

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

Description

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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