summaryrefslogtreecommitdiff
path: root/script/method/textDocument/didClose.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/method/textDocument/didClose.lua')
-rw-r--r--script/method/textDocument/didClose.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/script/method/textDocument/didClose.lua b/script/method/textDocument/didClose.lua
index 589b212f..3cfd98e8 100644
--- a/script/method/textDocument/didClose.lua
+++ b/script/method/textDocument/didClose.lua
@@ -1,3 +1,6 @@
+--- @param lsp LSP
+--- @param params table
+--- @return boolean
return function (lsp, params)
local doc = params.textDocument
lsp:close(doc.uri)