From 9101cc7c3ffef4cb16e54bd650d6b7a6bdd7bb33 Mon Sep 17 00:00:00 2001 From: ryuukk <44361234+ryuukk@users.noreply.github.com> Date: Fri, 24 Jun 2022 11:26:57 +0200 Subject: [PATCH] Put constants/imports at the top --- src/main.zig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.zig b/src/main.zig index a0e9cad..3887f58 100644 --- a/src/main.zig +++ b/src/main.zig @@ -1217,6 +1217,8 @@ fn completeError(arena: *std.heap.ArenaAllocator, id: types.RequestId, handle: * fn kindToSortScore(kind: types.CompletionItem.Kind) [] const u8 { return switch (kind) { + .Constant => "1_", + .Variable => "2_", .Field => "3_", .Function => "4_",