fix: server.root is not a function (#1614)

This commit is contained in:
Aiden Cline 2025-08-05 05:17:32 -05:00 committed by GitHub
parent 4957fca718
commit 7a495faa49
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -67,6 +67,7 @@ export namespace LSP {
}
servers[name] = {
...existing,
root: existing?.root ?? (async (_file, app) => app.path.root),
extensions: item.extensions ?? existing.extensions,
spawn: async (_app, root) => {
return {