feat: add injection.self to inject a node with itself

This commit is contained in:
Amaan Qureshi 2023-08-18 16:14:01 -04:00
parent ab09ae20d6
commit 45313e0dfb
No known key found for this signature in database
GPG key ID: E67890ADC4227273
6 changed files with 46 additions and 2 deletions

View file

@ -52,6 +52,7 @@ pub fn get_highlight_config(
let locals_query = fs::read_to_string(queries_path.join("locals.scm")).unwrap_or(String::new());
let mut result = HighlightConfiguration::new(
language,
language_name,
&highlights_query,
&injections_query,
&locals_query,