Skip to content

Inconsistent syntax highlighting #901

@CanePlayz

Description

@CanePlayz

Describe the bug

I've been using the winget schema (https://raw.githubusercontent.com/microsoft/winget-cli/master/schemas/JSON/manifests/v1.4.0/manifest.defaultLocale.1.4.0.json) to create some package manifests, when I noticed inconsistent highlighting. Both of the numbers here are specified as strings in the schema, however, only one gets highlighting.

image

Expected Behavior

Syntax highlighting in both or no cases

Current Behavior

Syntax highlighting in only one case

Steps to Reproduce

  1. Create a yaml file with the aforementioned schema
  2. Put numbers where strings belong

Environment

  • Windows
  • Mac
  • Linux
  • other (please specify)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions