Fix missing @container capture in C++

This commit is contained in:
HiPhish 2024-08-14 00:05:16 +02:00
parent 8d88eaf246
commit bbd8eea0d8
3 changed files with 10 additions and 3 deletions

View file

@ -15,6 +15,7 @@ Unreleased
Fixed
=====
- C++ query: missing `@container` capture in one pattern
- Common Lisp query: duplicate extmarks on some delimiters
- Ruby query: duplicate extmarks on some delimiters
- Zig query: duplicate extmarks on some delimiters

View file

@ -26,7 +26,7 @@
(cast_expression
"(" @delimiter
")" @delimiter @sentinel)
")" @delimiter @sentinel) @container
(initializer_list
"{" @delimiter

View file

@ -416,15 +416,21 @@ return {
}, {
end_col = 9,
end_row = 63,
hl_group = "RainbowDelimiterRed",
hl_group = "RainbowDelimiterYellow",
start_col = 8,
start_row = 63
}, {
end_col = 15,
end_row = 63,
hl_group = "RainbowDelimiterRed",
hl_group = "RainbowDelimiterYellow",
start_col = 14,
start_row = 63
}, {
end_col = 1,
end_row = 64,
hl_group = "RainbowDelimiterRed",
start_col = 0,
start_row = 64
}, {
end_col = 28,
end_row = 66,