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 editor: text after "someKey: |" is colorized differently if a leading newline exists. #138244

Closed
ghuser opened this issue Dec 1, 2021 · 1 comment
Assignees
Labels
grammar Syntax highlighting grammar upstream-issue-linked This is an upstream issue that has been reported upstream

Comments

@ghuser
Copy link

ghuser commented Dec 1, 2021

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)
@alexr00
Copy link
Member

alexr00 commented Dec 2, 2021

Moved to the repo that we pull our yaml syntax highlighting grammar from: textmate/yaml.tmbundle#38

@alexr00 alexr00 closed this as completed Dec 2, 2021
@alexr00 alexr00 added grammar Syntax highlighting grammar upstream-issue-linked This is an upstream issue that has been reported upstream labels Dec 2, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Jan 16, 2022
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