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

Injection Query Support #430

Merged
merged 9 commits into from
Jul 11, 2021
Merged

Conversation

kirawi
Copy link
Member

@kirawi kirawi commented Jul 9, 2021

Resolves #426 #206
cc: @archseer

helix-syntax/src/lib.rs Outdated Show resolved Hide resolved
helix-term/src/ui/editor.rs Outdated Show resolved Hide resolved
@archseer
Copy link
Member

archseer commented Jul 9, 2021

Note: combined injections are another thing that can be done later on: https://github.com/helix-editor/helix/blob/master/helix-core/src/syntax.rs#L527-L559

It's for parsing template languages, where all the fragments should be parsed as one big doc.

@kirawi kirawi marked this pull request as ready for review July 9, 2021 03:07
helix-term/src/ui/editor.rs Outdated Show resolved Hide resolved
@kirawi kirawi force-pushed the injection-local branch from b1890d0 to 5704ae0 Compare July 9, 2021 15:22
@archseer archseer merged commit bb121a3 into helix-editor:master Jul 11, 2021
@kirawi kirawi deleted the injection-local branch August 22, 2021 01:05
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.

Support injections.scm
2 participants