Skip to content
This repository has been 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

Open
1 task
alexr00 opened this issue Dec 7, 2021 · 0 comments
Open
1 task

Comments

@alexr00
Copy link

alexr00 commented Dec 7, 2021

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant