mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
fix: lsp extension undefined handle (#2739)
This commit is contained in:
parent
0b36eb8760
commit
02b4d1e2fc
1 changed files with 1 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ export namespace LSP {
|
|||
...existing,
|
||||
id: name,
|
||||
root: existing?.root ?? (async () => Instance.directory),
|
||||
extensions: item.extensions ?? existing.extensions,
|
||||
extensions: item.extensions ?? existing?.extensions ?? [],
|
||||
spawn: async (root) => {
|
||||
return {
|
||||
process: spawn(item.command[0], item.command.slice(1), {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue