zig: Account for doctests in outline (#19776)
zig has a feature called [doctests](https://ziglang.org/documentation/master/#Doctests) where instead of providing a string as the name of a test you use an identifier so that the test is "tied" to it and can be used in documentation. this wasnt accounted for so any tests using this were unnamed in the outline Release Notes: - N/A
This commit is contained in:
parent
6686f66949
commit
ff29a34298
1 changed files with 4 additions and 1 deletions
|
@ -19,6 +19,9 @@
|
|||
(
|
||||
TestDecl (
|
||||
"test" @context
|
||||
(STRINGLITERALSINGLE)? @name
|
||||
[
|
||||
(STRINGLITERALSINGLE)
|
||||
(IDENTIFIER)
|
||||
]? @name
|
||||
)
|
||||
) @item
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue