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

Improve textmate scopes for Jinja-SQL #236449

Open
moseleyi opened this issue Dec 18, 2024 · 0 comments
Open

Improve textmate scopes for Jinja-SQL #236449

moseleyi opened this issue Dec 18, 2024 · 0 comments
Assignees

Comments

@moseleyi
Copy link

I have been trying to change the token colours in SQL files that are marked as Jinja SQL, which is used, for example, by dbt or Dataform. Unfortunately, the scopes do not make sense in a way that I could style them in settings.

For examples here is just a part of a normal SELECT
Image
For this one, the scope of the column name says it's a table name, which clearly it's not

Image
And instead of recognising table name it thinks that "calcs" is database name

And subsequent SELECT without table alias in front of the fields

Image

I can't find a good way of changing the way those files look like.

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

3 participants