summaryrefslogtreecommitdiff
path: root/script/vm/manager.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-04-16 23:32:59 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-04-16 23:32:59 +0800
commit944b7d59f9dbb8f7f41083478018f3e3ae255713 (patch)
tree6245a2234956278610e42ae923660ff84bd7507c /script/vm/manager.lua
parentd31ecd5f2b8793667b3e8dad576737440c47a29d (diff)
downloadlua-language-server-944b7d59f9dbb8f7f41083478018f3e3ae255713.zip
cleanup
Diffstat (limited to 'script/vm/manager.lua')
-rw-r--r--script/vm/manager.lua7
1 files changed, 0 insertions, 7 deletions
diff --git a/script/vm/manager.lua b/script/vm/manager.lua
index c9103ff9..58255fca 100644
--- a/script/vm/manager.lua
+++ b/script/vm/manager.lua
@@ -7,12 +7,6 @@ local localManager = require 'vm.local-manager'
---@class vm.state
local m = {}
-for uri in files.eachFile() do
- local state = files.getState(uri)
- if state then
- globalManager.compileAst(state.ast)
- end
-end
files.watch(function (ev, uri)
if ev == 'update' then
@@ -29,5 +23,4 @@ files.watch(function (ev, uri)
end
end)
-
return m