summaryrefslogtreecommitdiff
path: root/script/provider/provider.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/provider/provider.lua')
-rw-r--r--script/provider/provider.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/script/provider/provider.lua b/script/provider/provider.lua
index eef22b21..eb4a274c 100644
--- a/script/provider/provider.lua
+++ b/script/provider/provider.lua
@@ -618,6 +618,9 @@ m.register 'textDocument/completion' {
end
items[i] = item
end
+ if result.incomplete == nil then
+ result.incomplete = false
+ end
return {
isIncomplete = result.incomplete,
items = items,