Standardize insertText to be above insertTextFormat

This commit is contained in:
Benjamin Tan
2021-04-05 22:27:38 +08:00
parent 33f03d36a5
commit 36ea1975bd

View File

@@ -2602,8 +2602,8 @@ fn makeScopeInternal(
try error_completions.put(allocator, .{ try error_completions.put(allocator, .{
.label = tree.tokenSlice(i), .label = tree.tokenSlice(i),
.kind = .Constant, .kind = .Constant,
.insertTextFormat = .PlainText,
.insertText = tree.tokenSlice(i), .insertText = tree.tokenSlice(i),
.insertTextFormat = .PlainText,
}, {}); }, {});
} }
} }