Use a null filterText instead of an empty string by default

This commit is contained in:
Alexandros Naskos 2021-04-05 11:58:41 +03:00
parent 4bee4e662b
commit 2770321a61
No known key found for this signature in database
GPG Key ID: 02BF2E72B0EA32D2

View File

@ -231,7 +231,7 @@ pub const CompletionItem = struct {
label: []const u8,
kind: Kind,
textEdit: ?TextEdit = null,
filterText: []const u8 = "",
filterText: ?[]const u8 = null,
insertText: []const u8 = "",
insertTextFormat: ?InsertTextFormat = .PlainText,
detail: ?[]const u8 = null,