mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-23 04:26:05 +00:00
fix: server.root is not a function (#1614)
This commit is contained in:
parent
4957fca718
commit
7a495faa49
1 changed files with 1 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue