<p>Writing language injection queries allows one to highlight a specific node as a different language.
In addition to the <ahref="upstream-docs">standard</a> language injection options used by tree-sitter, there
In addition to the <ahref="http://tree-sitter.github.io/tree-sitter/syntax-highlighting#language-injection">standard</a> language injection options used by tree-sitter, there
are a few Helix specific extensions that allow for more control.</p>
<p>And example of a simple query that would highlight all strings as bash in Nix:</p>
<p>Writing language injection queries allows one to highlight a specific node as a different language.
In addition to the <ahref="guides/upstream-docs">standard</a> language injection options used by tree-sitter, there
In addition to the <ahref="http://tree-sitter.github.io/tree-sitter/syntax-highlighting#language-injection">standard</a> language injection options used by tree-sitter, there
are a few Helix specific extensions that allow for more control.</p>
<p>And example of a simple query that would highlight all strings as bash in Nix:</p>