[bug-fix]hover struct field not show docs.
This commit is contained in:
parent
b6e40b744d
commit
d4551030c4
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,4 +1,5 @@
|
|||||||
# Zig magic stuff
|
# Zig magic stuff
|
||||||
/zig-cache
|
/zig-cache
|
||||||
|
/zig-out
|
||||||
debug
|
debug
|
||||||
release
|
release
|
@ -41,6 +41,7 @@ pub fn getDocComments(
|
|||||||
.global_var_decl,
|
.global_var_decl,
|
||||||
.aligned_var_decl,
|
.aligned_var_decl,
|
||||||
.simple_var_decl,
|
.simple_var_decl,
|
||||||
|
.container_field_init,
|
||||||
=> {
|
=> {
|
||||||
if (getDocCommentTokenIndex(tokens, base)) |doc_comment_index|
|
if (getDocCommentTokenIndex(tokens, base)) |doc_comment_index|
|
||||||
return try collectDocComments(allocator, tree, doc_comment_index, format, false);
|
return try collectDocComments(allocator, tree, doc_comment_index, format, false);
|
||||||
|
Loading…
Reference in New Issue
Block a user