-
Notifications
You must be signed in to change notification settings - Fork 29.2k
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] highlighting issue of single quotes in a value #10746
Comments
@JacobGunther12 Can you add an example? # An employee record
martin:
name: Martin D'vloper
job: Developer
skill: Elite and it seems to colorize fine |
Yes, @aeschli that is exactly what I mean. It turns out that it works differently on my MacBook. Possibly my MacBook updated VSCode and my PC didn't? By the way, I saw this in Minecraft YAML configuration, there must of been something that triggered a syntax error... Oh well :/ |
Do you have any extension installed that might replace the Yaml grammar? |
@aeschli Nope, just a couple of extensions for PHP debug and C++ C# stuff that I might use in the future. The file I'm editing is on my PC. |
Closing as I can't reproduce... |
When you put a ' symbol in a YML file variables, it will syntax color everything until it reaches another '. Usually this isn't an issue while doing double (''), but the game Minecraft recognizes the single ' as a ' and you don't have to put double '.
Steps to Reproduce:
The text was updated successfully, but these errors were encountered: