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
indentation in a multi language doc #6136
Comments
Is there graphql indent queries |
@lucario387 The legend in CheckHealth suggest that the graphql package installed has indent support. I haven't done anything custom with it. |
Found it https://github.com/nvim-treesitter/nvim-treesitter/blob/master/queries/ecma/indents.scm#L72 Template_string is always ignored, so I suspect that's why |
@lucario387 Thanks. SO if I copy this into a indents.scm file and modify it I can fix it you think? |
I believe so. |
Hello,
I'm writing GraphQL queries within a string inside a JS/TS file. I can get highlighting to work with an injection query but indentation is acting like a string instead of GraphQL. Is there anything else I need to do to support indentation for for multi language docs?
Thanks!
The text was updated successfully, but these errors were encountered: