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