diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2018-11-23 17:02:29 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2018-11-23 17:02:29 +0800 |
commit | 9d2265692897472cb1efc3891ef89fe3a58126b0 (patch) | |
tree | 5a318c3c3132283a49e01a644dd9d76e80964684 /server/src/method/textDocument/didOpen.lua | |
parent | 10569576cf9ff1a560a5b93a031eeb55e4d20cfe (diff) | |
download | lua-language-server-9d2265692897472cb1efc3891ef89fe3a58126b0.zip |
加个日志查bug
Diffstat (limited to 'server/src/method/textDocument/didOpen.lua')
-rw-r--r-- | server/src/method/textDocument/didOpen.lua | 1 |
1 files changed, 1 insertions, 0 deletions
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 |