feat: add @injection.parent to inject an injection's node with the parent language

This commit is contained in:
Amaan Qureshi 2023-08-21 00:53:46 -04:00
parent da6affaf94
commit e3a5863287
No known key found for this signature in database
GPG key ID: E67890ADC4227273
2 changed files with 33 additions and 5 deletions

View file

@ -24,6 +24,7 @@ lazy_static! {
get_highlight_config("rust", Some("injections.scm"), &HIGHLIGHT_NAMES);
static ref HIGHLIGHT_NAMES: Vec<String> = [
"attribute",
"boolean",
"carriage-return",
"comment",
"constant",