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.

NoSubstitutionTemplateLiteral breaks coloring #36

Open
@ericbf

Description

@ericbf

Prerequisites

Description

When using NoSubstitutionTemplateLiterals as types it breaks coloring.

Steps to Reproduce

type literal = {
	normal: "string"
	hello: `hello`
	world: `world`
	exclamation: `!`
	another: `!`
}

Expected behavior: [What you expect to happen]

Text is colored correctly.

Actual behavior: [What actually happens]

Screen Shot 2019-04-03 at 10 42 06 AM

Edit by @rsese to add additional screenshot with 1.37.0-nightly32 on macOS 10.12.6:

hello-value

And with Tree-sitter disabled:

hello-value-ts-disabled

Reproduces how often: [What percentage of the time does it reproduce?]

Always.

Versions

electron 2.0.18
chrome 61.0.3163.100
apm 2.1.3
npm 6.2.0
node 8.9.3 x64
atom 1.35.1
python 2.7.16
git 2.20.1
language-typescript 0.4.11
macos 10.14.4

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions