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

Syntax / coloring issue when using interpolation with backticks for table identifiers #48

Open
mxcoder opened this issue Oct 22, 2021 · 0 comments

Comments

@mxcoder
Copy link

mxcoder commented Oct 22, 2021

Description

Hello, thanks for the plugin.
I'm using Terraform templatefile function to parameterize some queries, therefore I can have SQL like:

SELECT _entity.*,
FROM `${project}.other_table`
WHERE field IS TRUE
;

And it renders like this:
image

I'm guessing the syntax regex might need to be tweaked for it to ignore the $ in the identifier.

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

No branches or pull requests

1 participant