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 quirk #49752

Closed
Tracked by #1
Stanzilla opened this issue May 12, 2018 · 0 comments
Closed
Tracked by #1

[YAML] Syntax highlighting quirk #49752

Stanzilla opened this issue May 12, 2018 · 0 comments

Comments

@Stanzilla
Copy link

Stanzilla commented May 12, 2018

  • VSCode Version: 1.23.1
  • OS Version: Windows 10 1803 x64

Steps to Reproduce:

  1. Create a new YAML file
  2. Paste
language: minimal

addons:
  apt:
    packages:
    - luarocks

install:
  - eval $(luarocks path --bin)
  - luarocks install --local luacheck

before_script: /home/travis/.luarocks/bin/luacheck . --no-color -qo "011"

script:
  - [[ "$TRAVIS_BRANCH" == "master" && "$TRAVIS_PULL_REQUEST" == "false" ]] && ./wowace_translations.sh
  - [[ "$TRAVIS_TAG" == "8.0-"* ]] && curl -s https://raw.githubusercontent.com/BigWigsMods/packager/master/release.sh | bash -s -- -og 8.0
  - [[ "$TRAVIS_TAG" != "8.0-"* ]] && curl -s https://raw.githubusercontent.com/BigWigsMods/packager/master/release.sh | bash -s -- -o


notifications:
  email:
    on_failure: always
    on_success: never

cache:
  apt: true
  directories:
    - $HOME/.luarocks

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

code_2018-05-12_15-45-15

Not sure what causes it to highlight the different script lines differently.

Edit: Turns out, it was just not proper YAML!

@vscodebot vscodebot bot locked and limited conversation to collaborators Jun 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant