diff options
| author | Stephan Seitz <stephan.seitz@fau.de> | 2022-02-04 20:43:45 +0100 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2022-02-04 22:15:47 +0100 |
| commit | 31e33b0e6694e07934b45c7c9ea850146195c796 (patch) | |
| tree | bbe7efe89a0ed1726c2edb7b611584bf7c9f57f9 | |
| parent | 11e7ee1d91dcb97f85c3fa98da440595289123fe (diff) | |
injections(latex): add support for minted language injection
| -rw-r--r-- | queries/latex/injections.scm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/queries/latex/injections.scm b/queries/latex/injections.scm index c5997b39..8c611535 100644 --- a/queries/latex/injections.scm +++ b/queries/latex/injections.scm @@ -7,3 +7,9 @@ (pycode_environment code: (source_code) @python ) + +(minted_environment + (begin + language: (curly_group_text + (text) @language)) + (source_code) @content) |
