Fix missing nodes in outline (#990)
* Remove some boilerplate from test * Fix missing nodes in outline
This commit is contained in:
parent
0d3b0e9965
commit
73d6264cab
@ -1851,6 +1851,7 @@ fn addOutlineNodes(allocator: std.mem.Allocator, tree: Ast, child: Ast.Node.Inde
|
|||||||
.error_set_decl,
|
.error_set_decl,
|
||||||
=> return,
|
=> return,
|
||||||
.container_decl,
|
.container_decl,
|
||||||
|
.container_decl_trailing,
|
||||||
.container_decl_arg,
|
.container_decl_arg,
|
||||||
.container_decl_arg_trailing,
|
.container_decl_arg_trailing,
|
||||||
.container_decl_two,
|
.container_decl_two,
|
||||||
|
@ -32,6 +32,9 @@ test "documentSymbol - nested struct with self" {
|
|||||||
\\};
|
\\};
|
||||||
,
|
,
|
||||||
\\Variable Foo
|
\\Variable Foo
|
||||||
|
\\ Variable Self
|
||||||
|
\\ Function foo
|
||||||
|
\\ Variable Bar
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user