Skip to content

Incorrect syntax highlight when a keyword is followed by a tagged string. #793

@infinnie

Description

@infinnie
  • VSCode Version: 1.40.2
  • OS Version: Windows 7

Steps to Reproduce:

  1. Type
return`tagged string`; // no space between return and backtick.
  1. the keyword return is highlighted as part of the string instead of a keyword.

image

When a space is inserted after return, however, the syntax highlight would work as expected.

Does this issue occur when all extensions are disabled?: Yes

Metadata

Metadata

Assignees

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