Skip to content

Commit 1d6411c

Browse files
committed
chore: remove obsolete environment config
1 parent f5d6f92 commit 1d6411c

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

src/extension.ts

+1-11
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,10 @@ export async function activate(context: ExtensionContext): Promise<void> {
1717
return
1818
}
1919

20-
// TODO add config options:
21-
2220
const serverOptions: ServerOptions = {
2321
command: (config.commandPath || require.resolve('bash-language-server/out/cli.js')),
2422
args: ['start'],
25-
transport: TransportKind.stdio,
26-
options: {
27-
env: {
28-
// => https://github.com/bash-lsp/bash-language-server/blob/master/server/src/config.ts
29-
EXPLAINSHELL_ENDPOINT: config.explainshellEndpoint,
30-
GLOB_PATTERN: config.globPattern,
31-
HIGHLIGHT_PARSING_ERRORS: config.highlightParsingErrors.toString()
32-
}
33-
}
23+
transport: TransportKind.stdio
3424
}
3525

3626
const clientOptions: LanguageClientOptions = {

0 commit comments

Comments
 (0)