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

docs: Add note about tree-sitter query precedence #1314

Merged
merged 1 commit into from
Dec 21, 2021

Conversation

sudormrfbin
Copy link
Member

@sudormrfbin sudormrfbin commented Dec 20, 2021

Inspired from #1170 (comment).

Comment on lines +45 to +49
For a language to have syntax-highlighting and indentation among
other things, you have to add queries. Add a directory for your
language with the path `runtime/queries/<name>/`. The tree-sitter
[website](https://tree-sitter.github.io/tree-sitter/syntax-highlighting#queries)
gives more info on how to write queries.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The text has only been reflowed here, no other change.

@archseer archseer merged commit 176fbe7 into helix-editor:master Dec 21, 2021
@sudormrfbin sudormrfbin deleted the ts-query-order-warning branch December 21, 2021 03:52
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

Successfully merging this pull request may close these issues.

2 participants