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 highlighting error on multiline strings #23

Closed
aeschli opened this issue May 4, 2018 · 3 comments
Closed

YAML Syntax highlighting error on multiline strings #23

aeschli opened this issue May 4, 2018 · 3 comments

Comments

@aeschli
Copy link

aeschli commented May 4, 2018

From @yajo on May 3, 2018 11:2

When you use > or | to indicate that the following indented code is a multiline string in YAML, special characters are highlighted as if it were normal YAML:

captura de pantalla de 2018-05-03 11-57-21
captura de pantalla de 2018-05-03 11-59-22

Copied from original issue: microsoft/vscode#49112

@aeschli
Copy link
Author

aeschli commented May 4, 2018

@yajo if you can paste your code sample here that would be great and save us some time!

@infininight
Copy link
Member

Sample in question:

- &create_user
  name: >
    create resent bucket iam user
    {{ user.key }}
    - one
    - [ two ]
    &anchor yes
    1
  when:
    - *aws_filter
    - *present_filter
  iam:
    name: "{{ user.key }}"
    iam_type: user
    state: present
    access_key_state: create
    key_count: "{{user_key_count}}"
  register: result

@infininight
Copy link
Member

Duplicate of #17.

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

No branches or pull requests

2 participants