summaryrefslogtreecommitdiff
path: root/script-beta/provider/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script-beta/provider/init.lua')
-rw-r--r--script-beta/provider/init.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/script-beta/provider/init.lua b/script-beta/provider/init.lua
index 7e9569a0..8fda0315 100644
--- a/script-beta/provider/init.lua
+++ b/script-beta/provider/init.lua
@@ -313,6 +313,7 @@ proto.on('textDocument/completion', function (params)
items[i] = {
label = res.label,
kind = res.kind,
+ sortText = ('%04d'):format(i),
}
end