diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-01-22 16:07:06 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-01-22 16:07:06 +0800 |
commit | d4b4de10daf18e389fc2b1c5d06e20ed433fcf04 (patch) | |
tree | 5af41a1abf037c433d04bf257f30099cb93c01bd /server/src/method/textDocument | |
parent | 4ffc826d7ce5ca57c2929e040ed5eefb53f9d115 (diff) | |
download | lua-language-server-d4b4de10daf18e389fc2b1c5d06e20ed433fcf04.zip |
整理代码
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, 0 insertions, 2 deletions
diff --git a/server/src/method/textDocument/didClose.lua b/server/src/method/textDocument/didClose.lua index 7d097407..d4edb624 100644 --- a/server/src/method/textDocument/didClose.lua +++ b/server/src/method/textDocument/didClose.lua @@ -1,6 +1,5 @@ return function (lsp, params) local doc = params.textDocument lsp:removeText(doc.uri, doc.version) - lsp:close(doc.uri) return true end diff --git a/server/src/method/textDocument/didOpen.lua b/server/src/method/textDocument/didOpen.lua index b6710d6b..27fdda71 100644 --- a/server/src/method/textDocument/didOpen.lua +++ b/server/src/method/textDocument/didOpen.lua @@ -1,6 +1,5 @@ return function (lsp, params) local doc = params.textDocument lsp:saveText(doc.uri, doc.version, doc.text) - lsp:open(doc.uri) return true end |