summaryrefslogtreecommitdiff
path: root/server/src/method/initialized.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/method/initialized.lua')
-rw-r--r--server/src/method/initialized.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/src/method/initialized.lua b/server/src/method/initialized.lua
index f79d035d..906fb3a3 100644
--- a/server/src/method/initialized.lua
+++ b/server/src/method/initialized.lua
@@ -6,7 +6,8 @@ return function (lsp)
if folders then
local folder = folders[1]
if folder then
- lsp.workspace = workspace(lsp, folder.name, folder.uri)
+ lsp.workspace = workspace(lsp, folder.name)
+ lsp.workspace:init(folder.uri)
end
end
end)