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] keys with hyphens break syntax highlighting #1550

Closed
weevilgenius opened this issue Dec 21, 2015 · 3 comments
Closed

[yaml] keys with hyphens break syntax highlighting #1550

weevilgenius opened this issue Dec 21, 2015 · 3 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug languages-basic Basic language support issues upstream Issue identified as 'upstream' component related (exists outside of VS Code) verified Verification succeeded

Comments

@weevilgenius
Copy link

yaml_screenshot

Editing a yaml file which has a hyphen in an unquoted key name seems to break syntax highlighting for the value of that key

Tested in 0.10.5

@bpasero bpasero added the bug Issue identified by VS Code Team member as probable bug label Dec 22, 2015
@bpasero bpasero added this to the Backlog milestone Dec 22, 2015
@aeschli
Copy link
Contributor

aeschli commented Jan 13, 2016

Reproduced. Snippet

----
test1  : dsd
test2  : abc-def
test-3  : abcdef
test-4  : abc-def

@aeschli
Copy link
Contributor

aeschli commented Jan 13, 2016

This issue was moved to textmate/yaml.tmbundle#11

@aeschli aeschli closed this as completed Jan 13, 2016
@aeschli aeschli reopened this Jan 13, 2016
@aeschli aeschli added upstream Issue identified as 'upstream' component related (exists outside of VS Code) languages-basic Basic language support issues labels Jan 13, 2016
@aeschli aeschli changed the title Yaml keys with hyphens break syntax highlighting [yaml] keys with hyphens break syntax highlighting Jan 13, 2016
@hxlnt
Copy link

hxlnt commented Jul 14, 2016

Noting that this applies not only to strings but also to negative numbers.

screen shot 2016-07-14 at 5 20 06 pm

@aeschli aeschli modified the milestones: September 2016, Backlog Sep 15, 2016
@aeschli aeschli closed this as completed Sep 15, 2016
@ramya-rao-a ramya-rao-a added the verified Verification succeeded label Sep 28, 2016
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug languages-basic Basic language support issues upstream Issue identified as 'upstream' component related (exists outside of VS Code) verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

5 participants