summaryrefslogtreecommitdiff
path: root/script/src/method/textDocument/didOpen.lua
blob: e2a67fd245cb3095b1dbcbe91a31e366de673ba5 (plain)
1
2
3
4
5
return function (lsp, params)
    local doc = params.textDocument
    lsp:open(doc.uri, doc.version, doc.text)
    return true
end