Fixed a couple of typos
This commit is contained in:
parent
0283222e3a
commit
3fa5ef4b96
@ -164,8 +164,7 @@ pub fn completeGlobal(id: i64, document: types.TextDocument) !void {
|
||||
|
||||
var completions = std.ArrayList(types.CompletionItem).init(allocator);
|
||||
|
||||
// @TODO
|
||||
try log("{}", .{&tree.root_node.decls});
|
||||
// try log("{}", .{&tree.root_node.decls});
|
||||
var decls = tree.root_node.decls.iterator(0);
|
||||
while (decls.next()) |decl_ptr| {
|
||||
|
||||
@ -442,7 +441,7 @@ pub fn main() anyerror!void {
|
||||
}
|
||||
|
||||
} else if (offset >= 16) {
|
||||
try log("OffseOt is greater than 16!", .{});
|
||||
try log("Offset is greater than 16!", .{});
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user