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)