Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YAML syntax highlight is wrong on keys that happen to be keywords #94738

Closed
leafac opened this issue Apr 9, 2020 · 1 comment
Closed

YAML syntax highlight is wrong on keys that happen to be keywords #94738

leafac opened this issue Apr 9, 2020 · 1 comment
Assignees
Labels
grammar Syntax highlighting grammar upstream-issue-linked This is an upstream issue that has been reported upstream

Comments

@leafac
Copy link

leafac commented Apr 9, 2020

Issue Type: Bug

The keys are highlighted as keywords, for example, consider the keyword on:

on: push
all: Are
other: highlighted
keys: differently

Screen Shot 2020-04-09 at 12 08 04 AM

(For example, you may see the on keyword as a key in the configuration for a GitHub Action.)

Possibly related issued:

VS Code version: Code 1.44.0 (2aae1f2, 2020-04-08T08:23:56.137Z)
OS version: Darwin x64 19.4.0

System Info
Item Value
CPUs Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz (4 x 2300)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off_ok
webgl: enabled
webgl2: enabled
Load (avg) 2, 2, 2
Memory (System) 8.00GB (0.56GB free)
Process Argv
Screen Reader no
VM 0%
Extensions (5)
Extension Author (truncated) Version
githistory don 0.6.3
prettier-vscode esb 4.1.1
latex-workshop Jam 8.8.0
code-spell-checker str 1.8.0
code-spell-checker-portuguese str 0.1.2
@alexr00
Copy link
Member

alexr00 commented Apr 9, 2020

Moved to the repo we get our yaml grammar from.

@alexr00 alexr00 closed this as completed Apr 9, 2020
@alexr00 alexr00 added grammar Syntax highlighting grammar upstream-issue-linked This is an upstream issue that has been reported upstream and removed new release labels Apr 9, 2020
@github-actions github-actions bot locked and limited conversation to collaborators May 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
grammar Syntax highlighting grammar upstream-issue-linked This is an upstream issue that has been reported upstream
Projects
None yet
Development

No branches or pull requests

3 participants