summaryrefslogtreecommitdiff
path: root/script/method/textDocument/completion.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/method/textDocument/completion.lua')
-rw-r--r--script/method/textDocument/completion.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/script/method/textDocument/completion.lua b/script/method/textDocument/completion.lua
index d622fe73..0ede5903 100644
--- a/script/method/textDocument/completion.lua
+++ b/script/method/textDocument/completion.lua
@@ -82,6 +82,9 @@ local function cuterFactory(lines, text, position)
end
end
+--- @param lsp LSP
+--- @param params table
+--- @return table
return function (lsp, params)
local uri = params.textDocument.uri
local text, oldText = lsp:getText(uri)