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, 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 |