diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-12-09 21:04:30 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-12-09 21:04:30 +0800 |
commit | 21214e6da8480c455df57ce9524cc73f0bf5ff13 (patch) | |
tree | ee7223a97641948fd6fa857581d83307736c31d5 /script-beta | |
parent | 2b3492cea6a1c3358119a3a630763ab3728a2c6f (diff) | |
download | lua-language-server-21214e6da8480c455df57ce9524cc73f0bf5ff13.zip |
排个序
Diffstat (limited to 'script-beta')
-rw-r--r-- | script-beta/provider/init.lua | 1 |
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 |