sync
This commit is contained in:
parent
1fb54efdd2
commit
6c3c7ceb2f
1 changed files with 2 additions and 3 deletions
|
|
@ -1,4 +1,3 @@
|
|||
import { App } from "../app/app"
|
||||
import { Log } from "../util/log"
|
||||
import { LSPClient } from "./client"
|
||||
import path from "path"
|
||||
|
|
@ -69,9 +68,9 @@ export namespace LSP {
|
|||
}
|
||||
servers[name] = {
|
||||
...existing,
|
||||
root: existing?.root ?? (async (_file, app) => app.path.root),
|
||||
root: existing?.root ?? (async () => Paths.directory),
|
||||
extensions: item.extensions ?? existing.extensions,
|
||||
spawn: async (_app, root) => {
|
||||
spawn: async (root) => {
|
||||
return {
|
||||
process: spawn(item.command[0], item.command.slice(1), {
|
||||
cwd: root,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue