summaryrefslogtreecommitdiff
path: root/script/files.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-03-03 10:05:40 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-03-03 10:05:40 +0800
commit76f1b37e613dce5305777ceba7890b8da0a9175c (patch)
tree3a1c2caa47a93f7eaf99270132ed9461e1932b71 /script/files.lua
parent679689b5c5a167794cf10a74b9de2d9c37e30d65 (diff)
downloadlua-language-server-76f1b37e613dce5305777ceba7890b8da0a9175c.zip
revert interruption during compilation
Diffstat (limited to 'script/files.lua')
-rw-r--r--script/files.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/script/files.lua b/script/files.lua
index 8e323a92..3a1a3872 100644
--- a/script/files.lua
+++ b/script/files.lua
@@ -182,7 +182,6 @@ function m.setText(uri, text, isTrust)
file.version = file.version + 1
m.globalVersion = m.globalVersion + 1
await.close('files.version')
- await.close('compile:' .. uri)
if create then
m.onWatch('create', originUri)
end
@@ -347,7 +346,6 @@ function m.eachDll()
end
function m.compileAst(uri, text)
- await.setID('compile:' .. uri)
local ws = require 'workspace'
if not m.isOpen(uri) and #text >= config.config.workspace.preloadFileSize * 1000 then
if not m.notifyCache['preloadFileSize'] then