summaryrefslogtreecommitdiff
path: root/server-beta/src/proto
diff options
context:
space:
mode:
Diffstat (limited to 'server-beta/src/proto')
-rw-r--r--server-beta/src/proto/provider.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/server-beta/src/proto/provider.lua b/server-beta/src/proto/provider.lua
index 01121a15..0b9c285e 100644
--- a/server-beta/src/proto/provider.lua
+++ b/server-beta/src/proto/provider.lua
@@ -8,11 +8,14 @@ local inte = require 'proto.interface'
local workspace = require 'workspace'
proto.on('initialize', function (params)
- log.debug(util.dump(params))
+ --log.debug(util.dump(params))
if params.workspaceFolders then
local name = params.workspaceFolders[1].name
local uri = params.workspaceFolders[1].uri
workspace.init(name, uri)
+ task.create(function ()
+ workspace.preload()
+ end)
end
return {
capabilities = cap.initer,