diff options
Diffstat (limited to 'server/src/method/textDocument')
-rw-r--r-- | server/src/method/textDocument/didClose.lua | 1 | ||||
-rw-r--r-- | server/src/method/textDocument/didOpen.lua | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/server/src/method/textDocument/didClose.lua b/server/src/method/textDocument/didClose.lua index d4edb624..c4778293 100644 --- a/server/src/method/textDocument/didClose.lua +++ b/server/src/method/textDocument/didClose.lua @@ -1,5 +1,6 @@ return function (lsp, params) local doc = params.textDocument + log.debug('Close file:', doc.uri) lsp:removeText(doc.uri, doc.version) return true end diff --git a/server/src/method/textDocument/didOpen.lua b/server/src/method/textDocument/didOpen.lua index 27fdda71..722bba99 100644 --- a/server/src/method/textDocument/didOpen.lua +++ b/server/src/method/textDocument/didOpen.lua @@ -1,5 +1,6 @@ return function (lsp, params) local doc = params.textDocument + log.debug('Open file:', doc.uri) lsp:saveText(doc.uri, doc.version, doc.text) return true end |