Skip to content

text after "someKey: |" is colorized differently if a leading newline exists. #38

@alexr00

Description

@alexr00

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.62.3
  • OS Version: Ubuntu 18.04.6 LTS

Steps to Reproduce:

  1. code --disable-extensions
  2. create the following .yml file
someKey: |

  *Some description*
  which is multiline
  1. Observe that "Some" word has another color (issue)
  2. Now remove the leading newline
  3. Observe that the whole string has the same color (expected behavior)

image

Originally from @ghuser in microsoft/vscode#138244

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions