From 2770321a61aebbff466dd015d8cabb7d8e115394 Mon Sep 17 00:00:00 2001 From: Alexandros Naskos Date: Mon, 5 Apr 2021 11:58:41 +0300 Subject: [PATCH] Use a null filterText instead of an empty string by default --- src/types.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types.zig b/src/types.zig index b3d6d55..c010ec4 100644 --- a/src/types.zig +++ b/src/types.zig @@ -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,