Skip to content

Conversation

@jparise
Copy link
Owner

@jparise jparise commented Apr 27, 2025

Our previous function-matching approach (#109) was implemented on top of
the existing tag-matching patterns. This had the downside of including
the function name and initial parenthesis in the region match.

Instead, use dedicated syntax regions to specifically match the string
template argument passed to our named GraphQL-aware functions for both
JavaScript and TypeScript.

Our previous function-matching approach (#109) was implemented on top of
the existing tag-matching patterns. This had the downside of including
the function name and initial parenthesis in the region match.

Instead, use dedicated syntax regions to specifically match the string
template argument passed to our named GraphQL-aware functions for both
JavaScript and TypeScript.
@jparise jparise merged commit 904e3e8 into master Apr 27, 2025
1 check passed
@jparise jparise deleted the function-regions branch April 27, 2025 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants