We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5c8d6b commit c556f2cCopy full SHA for c556f2c
handlers/completion.go
@@ -70,7 +70,7 @@ func CreateTextDocumentCompletion(dm *documents.DocumentManager) protocol.TextDo
70
for table != nil {
71
for name := range table.Declarations {
72
decl, _, _ := table.LookupDecl(name)
73
- if decl.GetRange().Start.IsBehind(helper.FromProtocolPosition(params.Position)) {
+ if decl.Module() == docModule && decl.GetRange().Start.IsBehind(helper.FromProtocolPosition(params.Position)) {
74
continue
75
}
76
0 commit comments