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.

- character in a font family tokenized as support.constant.mathematical-symbols.scss #287

Description

@alexr00

Prerequisites

Description

Part of syntax highlighting of meta.property-value mistaken as support.constant.mathematical-symbols

Steps to Reproduce

  1. Create a file *.scss, (example: index.scss)
  2. Add a style with the following code font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace;
  3. Now you should see the minus symbol in source-code-pro aren't recognized as a meta.property-value as it does in a *.css file

Expected behavior:

When add the source-code-pro without quotation in .css, the editor recognizes the symbol as part of meta.property-value

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}

CSS file showing meta property value being fully recognized:
Capture2

Actual behavior:

The SCSS file showing meta property value was not fully recognized:
Capture1

Reproduces how often:

100%

Versions

commit f52ab12

Originally from @edumqssan in microsoft/vscode#138536

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions