summaryrefslogtreecommitdiff
path: root/server/src/method/initialize.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/method/initialize.lua')
-rw-r--r--server/src/method/initialize.lua8
1 files changed, 7 insertions, 1 deletions
diff --git a/server/src/method/initialize.lua b/server/src/method/initialize.lua
index 113acfb8..8b71e8fd 100644
--- a/server/src/method/initialize.lua
+++ b/server/src/method/initialize.lua
@@ -18,7 +18,13 @@ return function (lsp)
openClose = true,
-- 文本改变时完全通知 TODO 支持差量更新(2)
change = 1,
- }
+ },
+ workspace = {
+ workspaceFolders = {
+ supported = true,
+ changeNotifications = true,
+ }
+ },
}
}
end