diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-08-15 19:09:47 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-08-15 19:09:47 +0800 |
commit | a87e0c7cbd8ff44deb009b12efa8c28473db0470 (patch) | |
tree | 7637a3db4a65444b9717c12be9e9c7fa96c7e92e /script-beta/provider/provider.lua | |
parent | 674892abc53ad6752326135c8aaf60073f80b632 (diff) | |
download | lua-language-server-a87e0c7cbd8ff44deb009b12efa8c28473db0470.zip |
添加delay,保证自动完成的优先度最高
Diffstat (limited to 'script-beta/provider/provider.lua')
-rw-r--r-- | script-beta/provider/provider.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script-beta/provider/provider.lua b/script-beta/provider/provider.lua index ba635255..bf96209b 100644 --- a/script-beta/provider/provider.lua +++ b/script-beta/provider/provider.lua @@ -319,7 +319,7 @@ proto.on('textDocument/completion', function (params) if not result then return nil end - local easy = false + local easy = true local items = {} for i, res in ipairs(result) do local item = { |