| 1 |
((comment) @injection.content |
| 2 |
(#set! injection.language "comment")) |
| 3 |
|
| 4 |
|
| 5 |
(table |
| 6 |
(bare_key) @_table (#eq? @_table "changelog") |
| 7 |
(pair |
| 8 |
(bare_key) @_key (#any-of? @_key "header" "body" "footer") |
| 9 |
(string) @injection.content |
| 10 |
(#set! injection.language "tera"))) |
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
(pair |
| 21 |
(bare_key) @_key (#any-of? @_key |
| 22 |
"pattern" |
| 23 |
"tag_pattern" |
| 24 |
"skip_tags" |
| 25 |
"ignore_tags" |
| 26 |
"count_tags" |
| 27 |
"custom_major_increment_regex" |
| 28 |
"custom_minor_increment_regex" |
| 29 |
) |
| 30 |
(string) @injection.content |
| 31 |
(#set! injection.language "regex")) |
| 32 |
|
| 33 |
|
| 34 |
|
| 35 |
|
| 36 |
(pair |
| 37 |
(bare_key) @_key (#eq? @_key "replace_command") |
| 38 |
(string) @injection.content |
| 39 |
(#set! injection.language "bash")) |
| 40 |
|
| 41 |
|
| 42 |
|
| 43 |
|
| 44 |
(table |
| 45 |
(bare_key) @_table (#eq? @_table "git") |
| 46 |
(pair |
| 47 |
(bare_key) @_key (#eq? @_key "commit_parsers") |
| 48 |
(array |
| 49 |
(inline_table |
| 50 |
(pair |
| 51 |
(bare_key) @_message (#any-of? @_message "message" "body") |
| 52 |
(string) @injection.content)))) |
| 53 |
(#set! injection.language "regex")) |