summaryrefslogtreecommitdiff
path: root/script-beta
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-08-16 01:12:46 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-08-16 01:12:46 +0800
commitbb1e4a1d0ef31d0ed5d82df22a103cecfe79b251 (patch)
treed50db75fb76509bf4177dd01ea1e8c925e3c7756 /script-beta
parent57e5906d4050f19246bfa16365c4fb24230713d0 (diff)
downloadlua-language-server-bb1e4a1d0ef31d0ed5d82df22a103cecfe79b251.zip
先关掉easy
Diffstat (limited to 'script-beta')
-rw-r--r--script-beta/parser/guide.lua2
-rw-r--r--script-beta/provider/provider.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/script-beta/parser/guide.lua b/script-beta/parser/guide.lua
index 650b6e51..5e7a731a 100644
--- a/script-beta/parser/guide.lua
+++ b/script-beta/parser/guide.lua
@@ -922,7 +922,7 @@ function m.status(parentStatus, interface)
status.locks[status.index] = status.lock
if interface then
for k, v in pairs(interface) do
- status.interface[k] = interface[k] or v
+ status.interface[k] = v
end
end
return status
diff --git a/script-beta/provider/provider.lua b/script-beta/provider/provider.lua
index bf96209b..ba635255 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 = true
+ local easy = false
local items = {}
for i, res in ipairs(result) do
local item = {