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 optional core prefix to Terraform functions #111

Merged
merged 2 commits into from
Mar 12, 2024
Merged

Conversation

dbanck
Copy link
Member

@dbanck dbanck commented Mar 12, 2024

This PR adds two minor fixes to the Terraform grammar for provider-defined functions:

  • Add the missing terraform suffix to the Textmate scope
  • Add an optional core:: prefix to the built-in functions

And a couple of test cases to ensure that we don't highlight built-in functions or keywords differently when they're part of a namespaced function.

dbanck added 2 commits March 12, 2024 09:41
Ensure that we don't highlight built-in functions or keywords
differently when they're part of a namespaced function.
@dbanck dbanck added the enhancement New feature or request label Mar 12, 2024
@dbanck dbanck requested a review from a team as a code owner March 12, 2024 08:49
@dbanck dbanck merged commit 31af2ad into main Mar 12, 2024
5 checks passed
@dbanck dbanck deleted the f-terraform-core-prefix branch March 12, 2024 09:31
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 this pull request may close these issues.

2 participants