This commit is contained in:
SuperAuguste
2020-04-28 09:31:41 -04:00
parent def89a90f5
commit 999a365f3c
2 changed files with 10 additions and 16 deletions

View File

@@ -264,13 +264,7 @@ pub fn processJsonRpc(json: []const u8) !void {
builtin_completions[i] = types.CompletionItem{
.label = builtin[0..cutoff],
.kind = types.CompletionItemKind.Function,
// .textEdit = types.TextEdit{
// .range = types.Range{
// .start = pos,
// .end = pos,
// },
// .newText = builtin,
// },
.filterText = builtin[1..cutoff],
.insertText = builtin[1..],
.insertTextFormat = types.InsertTextFormat.Snippet