From e41048d107ac4ad92438ce63237e53efdcaf9cbb Mon Sep 17 00:00:00 2001 From: pascalkuthe Date: Mon, 2 Oct 2023 14:10:49 +0000 Subject: [PATCH] deploy: 7fbfec766c2ce2570ca4160744723813dbdc3019 --- master/guides/injection.html | 2 +- master/print.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/master/guides/injection.html b/master/guides/injection.html index 6c11da71c..e9bcb6057 100644 --- a/master/guides/injection.html +++ b/master/guides/injection.html @@ -178,7 +178,7 @@

Adding Injection Queries

Writing language injection queries allows one to highlight a specific node as a different language. -In addition to the standard language injection options used by tree-sitter, there +In addition to the standard language injection options used by tree-sitter, there are a few Helix specific extensions that allow for more control.

And example of a simple query that would highlight all strings as bash in Nix:

((string_expression (string_fragment) @injection.content)
diff --git a/master/print.html b/master/print.html
index c2b31f738..ccba9b5a9 100644
--- a/master/print.html
+++ b/master/print.html
@@ -2652,7 +2652,7 @@ line. (Note these scopes are the defaults for @indent and @ou
 written explicitly for demonstration.)

Adding Injection Queries

Writing language injection queries allows one to highlight a specific node as a different language. -In addition to the standard language injection options used by tree-sitter, there +In addition to the standard language injection options used by tree-sitter, there are a few Helix specific extensions that allow for more control.

And example of a simple query that would highlight all strings as bash in Nix:

((string_expression (string_fragment) @injection.content)