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

Add map to sentinel keyword highlighting #12

Closed
jpogran opened this issue Mar 9, 2022 · 1 comment · Fixed by #13
Closed

Add map to sentinel keyword highlighting #12

jpogran opened this issue Mar 9, 2022 · 1 comment · Fixed by #13
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@jpogran
Copy link
Contributor

jpogran commented Mar 9, 2022

      "match": "\\b(if|case|for|any|all|filter|map|break|continue|return)\\b"

https://docs.hashicorp.com/sentinel/language/spec#quantifier-expressions-any-all-filter-map

Originally posted by @radeksimko in #10 (comment)

@jpogran jpogran added this to the 0.1.0 milestone Mar 9, 2022
@jpogran jpogran added the enhancement New feature or request label Mar 9, 2022
@glennsarti
Copy link
Contributor

Yup. map is indeed a keyword. Add it in!

@jpogran jpogran linked a pull request Mar 11, 2022 that will close this issue
@jpogran jpogran closed this as completed Mar 11, 2022
@jpogran jpogran self-assigned this Mar 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants