Skip to content

Commit c3207ef

Browse files
Fix CompletionItem.Kind for package (#4095)
1 parent fcadc2d commit c3207ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

private/buf/buflsp/completion.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ func completionItemsForPackage(ctx context.Context, file *file, syntaxPackage as
143143
file.lsp.logger.DebugContext(ctx, "completion: package suggestion", slog.String("package", strings.Join(suggested, ".")))
144144
return []protocol.CompletionItem{{
145145
Label: strings.Join(suggested, ".") + ";",
146-
Kind: protocol.CompletionItemKindSnippet,
146+
Kind: protocol.CompletionItemKindModule,
147147
}}
148148
}
149149

0 commit comments

Comments
 (0)