mirror of
https://github.com/aljazceru/opencode.git
synced 2026-02-04 07:34:59 +01:00
fix: server.root is not a function (#1614)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user