Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

With tree-sitter enabled, module imports no longer have syntax--import css class #23

@ryanolsonx

Description

@ryanolsonx

Prerequisites

Description

When you enable tree-sitter parser, an import statement in a typescript file no longer has a css class "syntax--import." In atom/solarized-dark-syntax and atom/solarized-light-syntax, we theme the import line differently. If the "syntax--import" class is no longer there, we're unable to theme those lines as before.

Steps to Reproduce

  1. Enable tree-sitter parser
  2. Inspect typescript file that has a line such as import * as React from "react";

Expected behavior: Some indication that import, as, and from are "import" keywords.

Actual behavior: No indication that they are "import" related.

Reproduces how often: 100%

Versions

You can get this information from copy and pasting the output of atom --version and apm --version from the command line. Also, please include the OS and what version of the OS you're running.

Additional Information

Any additional information, configuration or data that might be necessary to reproduce the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions