feat: add @injection.parent to inject an injection's node with the parent language
This commit is contained in:
parent
da6affaf94
commit
e3a5863287
2 changed files with 33 additions and 5 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue