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

Nested list of dictionaries not coloring the first key in the dictionary #168

Closed
evilhamsterman opened this issue Sep 10, 2018 · 1 comment
Labels

Comments

@evilhamsterman
Copy link

evilhamsterman commented Sep 10, 2018

Environment

  • Extension version: 0.3.1
  • OS Type: MacOS

Summary

Nested lists of dictionaries is not highlighting the first key

Reproduce steps

Create a YAML file with a list of dictionaries at least one level deep

Example

children:
  it_users:
  - user_name: test
    user_state: present

Expected Results

user_name should be highlighted/colored the same as user_state in the above example. It works as expected when setting the language to YAML rather than Ansible
screen shot 2018-09-10 at 4 01 16 pm

It also works fine if the list of dictionaries is not nested and the language is set to Ansible
screen shot 2018-09-10 at 4 01 43 pm

Actual Results

The first item in the dictionary is not highlighted
screen shot 2018-09-10 at 4 01 28 pm

@yungezz
Copy link
Contributor

yungezz commented Sep 13, 2018

fixed in release 0.4.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants