diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2018-12-20 17:27:17 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2018-12-20 17:27:17 +0800 |
commit | e75a364e400a3e394d3ff557523a99ab9880619d (patch) | |
tree | 3d5bd6c4dd26431689fecda370cb0cf49baa742b /server/src/method/textDocument/didOpen.lua | |
parent | 8d2ef4b2c801c482fe12eefebd8e6598415f19b9 (diff) | |
download | lua-language-server-e75a364e400a3e394d3ff557523a99ab9880619d.zip |
本地文件读完后重新编译
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..b6710d6b 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 lsp:saveText(doc.uri, doc.version, doc.text) + lsp:open(doc.uri) return true end |