-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
Wrong YAML syntax highlighting in some corner cases for strings #55355
Labels
languages-basic
Basic language support issues
Comments
vscodebot
bot
added
the
terminal
General terminal issues that don't fall under another label
label
Jul 30, 2018
Tyriar
added
languages-basic
Basic language support issues
and removed
terminal
General terminal issues that don't fall under another label
labels
Jul 30, 2018
@yajo Would you mind pasting the code example here? Thanks a lot! |
Same here: key: string
"flows" | here
# ^^^^^^ highlighted Surely related to textmate/yaml.tmbundle#17. |
# Highlight here is OK
- name: build docker-compose project {{ project.key }}
# Highlight is misleading. All of this block is a string
split spaces: |
- i'm a string
- [not an array]
- {nor a dict}
# same here
join spaces: >
- i'm a string
- [not an array]
- {nor a dict}
when:
# This is all a single string
- not build_cache|bool or "ERROR: for odoo" in result.stderr
command:
# Highlighting in line 42 is misleading. All of this is a string too
docker-compose build --pull
{% if not build_cache|bool %} --no-cache {% endif %} |
This issue was moved to textmate/yaml.tmbundle#29 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Issue Type: Bug
Comments inside the image explain the wrong syntax highlighting problems; see:
VS Code version: Code 1.25.1 (1dfc5e5, 2018-07-11T15:40:20.190Z)
OS version: Linux x64 4.17.6-200.fc28.x86_64
System Info
flash_3d: unavailable_software
flash_stage3d: unavailable_software
flash_stage3d_baseline: unavailable_software
gpu_compositing: unavailable_software
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: unavailable_software
video_decode: unavailable_software
video_encode: unavailable_software
vpx_decode: unavailable_software
webgl: unavailable_off
webgl2: unavailable_off
Extensions (21)
The text was updated successfully, but these errors were encountered: