add type
parent
1a64b562a4
commit
89aacecb64
|
@ -22,6 +22,7 @@ import {
|
||||||
import {
|
import {
|
||||||
LanguageClient,
|
LanguageClient,
|
||||||
LanguageClientOptions,
|
LanguageClientOptions,
|
||||||
|
ServerOptions,
|
||||||
TransportKind,
|
TransportKind,
|
||||||
State as LanguageClientState,
|
State as LanguageClientState,
|
||||||
} from 'vscode-languageclient/node'
|
} from 'vscode-languageclient/node'
|
||||||
|
@ -153,15 +154,14 @@ export function activate(context: ExtensionContext) {
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
let debugOptions = {
|
let serverOptions: ServerOptions = {
|
||||||
execArgv: ['--nolazy', `--inspect=${6011 + clients.size}`],
|
|
||||||
}
|
|
||||||
let serverOptions = {
|
|
||||||
run: { module, transport: TransportKind.ipc },
|
run: { module, transport: TransportKind.ipc },
|
||||||
debug: {
|
debug: {
|
||||||
module,
|
module,
|
||||||
transport: TransportKind.ipc,
|
transport: TransportKind.ipc,
|
||||||
options: debugOptions,
|
options: {
|
||||||
|
execArgv: ['--nolazy', `--inspect=${6011 + clients.size}`],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
let clientOptions: LanguageClientOptions = {
|
let clientOptions: LanguageClientOptions = {
|
||||||
|
|
Loading…
Reference in New Issue