-
-
Notifications
You must be signed in to change notification settings - Fork 48
Closed
Description
What do you think about adding language injection for string and `indented_string to get syntax highlighting for embedded scripts? Here's what it looks like for a bash string:

That's with [ (string) (indented_string) ] @bash in injections.scm. I'm not sure how to auto-detect the language however. Looking at the docs that's what @language is for, but unlike e.g. Markdown there's no node with the language name. Is it possible to match based off of something like a shebang in the string?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels